Forum Discussion

sjb64's avatar
sjb64
Roku Guru
11 years ago

Brightscript request - Tokenize

Is there a version of Tokenize that still retains empty values instead of skipping them? The manual states "A sequence of two or more contiguous delimiters in the string is treated as a single delimiter." but this causes problems in delimiting some serialized files I use.

If not, is a request for a future method or Tokenize variant possible? I have a routine that does it but am sure what I write in BrightScript will have much slower performance than a native function. With me deserializing about eight thousand lines it would make a difference on channel startup.

16 Replies