Jump to content

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


Recommended Posts

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

Edited by KaFu
Link to comment
Share on other sites

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 ****

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...