ParseLines (String function)

From m204wiki
Revision as of 16:24, 15 May 2012 by JAL2 (talk | contribs)
Jump to navigation Jump to search

Parse delimited string, creating new Stringlist (String class)

This page is under construction.

ParseLines creates a Stringlist consisting of substrings bewteen an identified separator string.

Syntax

%sl = string:ParseLines[( [delims], [StripTrailingNull= boolean])]

Syntax terms

%stringlistStringlist object
string string
delims string
StripTrailingNull Boolean value

Usage notes

  • The CreateLines function performs the inverse operation; that is, it creates a string by concatenating the items in a Stringlist with separator strings between the items.

Examples

See also