Rest(delim:Str, list:Str):Str

Split string, return remainder.

Assuming that list is a string containing multiple fields, separated by delim, this function returns everything but the first field. For example,

   Rest(",", "cln,-57,Clone a ship")

returns "-57,Clone a ship". If the string does not contain the delimiter, this function returns EMPTY.

   Rest(",", "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.

Since: PCC 1.0.17, PCC2 1.99.8

See also: First, Elementary Functions