Project

General

Profile

$instok » History » Revision 3

Revision 2 (Per Amundsen, 08/10/2015 05:22 AM) → Revision 3/4 (Per Amundsen, 12/14/2016 11:51 PM)

_Added in 1.9.0_ 

 *$instok(text,token,N,C)* 

 Inserts token into the Nth position in text, even if it already exists in text. 

 _N can be a negative value._ 

 *Parameters* 

 text - Text to add the token to. 
 token - Token to insert. 
 N - The Nth position to insert at. 
 C - The "ASCII":http://www.asciitable.com/ value to tokenize by. 

 *Example* 

 <pre> 
 ; Insert token 'c' at token position '3'. '3' 
 //echo -ag $instok(a.b.d,c,3,46) 
 </pre>