Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
replace spaces in a variabel
Forums
Active Threads
Search
Who's Online
Help
Print Thread
replace spaces in a variabel
#
168905
16/01/07
04:01 PM
Joined:
Dec 2006
Posts: 31
K
klaaamp
OP
Ameglian cow
OP
klaaamp
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
Copy Link to Clipboard
Re: replace spaces in a variabel
klaaamp
#
168907
16/01/07
04:04 PM
Joined:
Sep 2005
Posts: 2,881
H
hixxy
Hoopy frood
hixxy
Hoopy frood
H
Joined:
Sep 2005
Posts: 2,881
Code:
%test1 = $replace(%test1,$chr(32),;)
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage