Remove In-Between Spaces inside a String

Get help using Construct 2

Post » Fri Apr 05, 2013 12:11 pm

Hi,

Is there a way/expression i could use to remove spaces from a string?


Eg, "Hello My Name Is John" --> "HelloMyNameIsJohn"
B
6
S
1
G
1
Posts: 13
Reputation: 778

Post » Fri Apr 05, 2013 12:32 pm

trim("Hello My Name Is John")

Manual entry on system expressions
B
56
S
15
G
10
Posts: 910
Reputation: 11,942

Post » Fri Apr 05, 2013 1:00 pm

Hi,
[CODE]
replace("My text message"," ","")
[/CODE]
Cheers,
GregCJK2013-04-05 13:01:15
B
17
S
3
G
3
Posts: 79
Reputation: 3,698


Return to How do I....?

Who is online

Users browsing this forum: Megavolt, mnashwan, shinkan, stylie1 and 18 guests