Tokenize a string: Difference between revisions

Content added Content deleted
(→‎{{header|PARI/GP}}: fixing output)
Line 1,436: Line 1,436:


<lang parigp>
<lang parigp>
\\Tokenize a string str according to a 1 character delimiter d. Return a list of tokens.
\\Tokenize a string str according to 1 character delimiter d. Return a list of tokens.
\\ tokenize() 3/5/16 aev
\\ tokenize() 3/5/16 aev
tokenize(str,d)={
tokenize(str,d)={
Line 1,471: Line 1,471:


<lang parigp>
<lang parigp>
\\Tokenize a string str according to a 1 character delimiter d. Return a list of tokens.
\\Tokenize a string str according to 1 character delimiter d. Return a list of tokens.
\\ stok() 3/5/16 aev
\\ stok() 3/5/16 aev
stok(str,d)={
stok(str,d)={