Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
String splitting
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Re: String splitting
#
123918
29/06/05
03:17 AM
Joined:
Dec 2002
Posts: 3,015
London, UK
C
Collective
Hoopy frood
Collective
Hoopy frood
C
Joined:
Dec 2002
Posts: 3,015
London, UK
Code:
unset %split.* var %i = 1 while ( %i <= $len($1-) ) { set $+(%,split.,%i) $mid($1-,%i,1) inc %i }
If $1- was "a b c def" you would get:
%split.1 a
%split.2
%split.3 b
%split.4
%split.5 c
%split.6
%split.7 d
%split.8 e
%split.9 f
Copy Link to Clipboard
Entire Thread
Subject
Posted By
Posted
String splitting
Anonymous
29/06/05
03:14 AM
Re: String splitting
Collective
29/06/05
03:17 AM
Re: String splitting
Anonymous
29/06/05
03:34 AM
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 Flat Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage