ParseLines (String function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Template:String:ParseLines subtitle}}
{{Template:String:ParseLines subtitle}}
This page is [[under construction]].
This page is [[under construction]].
<var>ParseLines</var> creates a <var>Stringlist</var> consisting of substrings bewteen an identified separator string.
==Syntax==
==Syntax==
{{Template:String:ParseLines syntax}}
{{Template:String:ParseLines syntax}}

Revision as of 15:23, 15 May 2012

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

Examples

See also

  • 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.