Name

String::FirstChunk — Shorthand for select (splitstring (s, separators), 0, "") Useful now that the above produces a deprecation warning.

Synopsis

Import String;
string String::FirstChunk ( string  s ,
  string  separators );

Parameters

string s

string to be split

string separators

characters which delimit components

Return Value

string

first component or ""