mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2006
Posts: 31
K
klaaamp Offline OP
Ameglian cow
OP Offline
Ameglian cow
K
Joined: Dec 2006
Posts: 31
Hi, if have a variabel that contains many words with spaces between them, is there any easy way to remove all spaces in it and replace them with one specific character?

%test1 = apple orange tree
should be
%test1 = apple;orange;tree

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Code:
%test1 = $replace(%test1,$chr(32),;)


Link Copied to Clipboard