nav.gif Home » Snippets » $septok

ammenul.gif
ammenur.gif
Please Register/Login to enhance your access of our site and services. We support Twitter and Facebook logins. Logging in will reduce the amount of advertisments.
ammenul.gif
ammenur.gif


ammenutopl.gif
TG007 Snippet
ammenutopr.gif
$septok
Category: General IRC

About
Separates a string of text with the given character


The C parameter is the ascii value of the character separating the tokens
Examples:
/septok <text> <C>
/septok abcdefghijklmnopqrstuvwxyz 32
//echo -a $septok(text,C)
//echo -a $septok(abcdefghijklmnopqrstuvwxyz,32)
 
alias septok {
  var %1 1
  while (%1 <= $len($$1)) {
    var %2 $instok(%2,$right($left($$1,%1),1),%1,$$2)
    inc %1
  }
  if (%2) $iif($isid,return %2,echo -a %2)
}


Comments

err0r Posted on: 7/11/11
avatarnice one

Sorry you must register and log-in to post comments
ammenul.gif
ammenur.gif
ammenutopl.gif
Info
ammenutopr.gif
Snippet Information
Creator:Zantetsuken
Date Added:7/10/11
Last Updated:7/10/11
Tags:
Problem?Report Snippet
ammenul.gif
ammenur.gif



17 user(s) currently browsing site (0 members, 17 guests, 0 anonymous)
No Members Logged In

11 Users in IRCommunity
inføвøт, err0r, ●fiestýβสbỳ●, båbyġurł, DennieWennie™, Erroneous, payback, TOP™, ﴾Ɣ﴿ⓨⓢⓣⓘⓒ★§ⓟⓔⓛⓛ, danger , extremity



lhfooter.gif
TechDesigns007.com | Valid XHTML 1.0 | Valid CSS | Load Time: 0.035384 sec(s)
rfooter.gif


Latest Alert: 10.14.2011 mIRC 7.22 released
oldline
oldline
oldline
oldline