First(delim:Str, list:Str):Str
Split string, return first part.
Assuming that list is a string containing multiple fields, separated by delim, this function returns the first field. For example,
First(",", "cln,-57,Clone a ship")
returns "cln". If the string does not contain the delimiter, it is returned as-is:
First(",", "huh?")
returns "huh?".
Note that, by default, substring search is case-insensitive. Use StrCase to search case-sensitive.
If any parameter is EMPTY, this function returns EMPTY.
See also: Elementary Functions