ecl-logo Documentation

StringRest

StringRest[string]outputString

returns the all but the first character from the input string.

Details

    Input
    Output

Examples

Basic Examples  (3)

Extract all but the first character in a string:

Extract all but the first character, even if the first characters are not alphanumeric:

Single character strings will return an empty string:

Additional Examples  (2)

StringRest is equivalent to StringDrop[string,1]:

StringRest does not work on empty strings:

Attributes  (1)

Listable  (1)

Extract all but the first character from each string in a list of strings: