Jump to content
Sign in to follow this  
kickitship

how do i glue two lines of text together, like for example poop fart can make poopfart with no space

Recommended Posts

kickitship

how do i glue two lines of text together, like for example poop fart can make poopfart with no space

Share this post


Link to post
Share on other sites
KaFu

$string1 = "R"
$string2 = "T"
$string3 = "F"
$string4 = "M"
msgbox(0,"",$string1 & $string2 & $string3 & $string4)
msgbox(0,"",$string1 & " " & $string2 & " " & $string3 & " " & $string4)

Edited by KaFu

Share this post


Link to post
Share on other sites
jfcby

This is another way to remove spaces from text...

$text1 =  "   this    is   a   line    of   text   "
MsgBox(0, "Orginal text with spaces...", $text1)

$text2 = StringStripWS($text1, 8)
MsgBox(0, "Text with all spaces removed...", $text2)

jfcby

Edited by jfcby

Determined -- Devoted -- Delivered Make your mind up -- to seriously apply yourself -- accomplishing the desired results. **** A soft answer turneth away wrath: but grievous words stir up anger. Proverbs 15:1 KJB ****

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.