pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]

tokenize()


Method tokenize

array(array(string)|string) tokenize(string code)

Description

Tokenize a string of C tokens.

Returns

Returns an array with C-level tokens and the remainder (a partial token), if any.


Method tokenize

array(array(string)|string) tokenize(string code)

Description

Tokenize a string of Pike tokens.

Returns

Returns an array with Pike-level tokens and the remainder (a partial token), if any.

Module reference for Pike v7.8 release 116, 2008-12-31