String.charList
String.charList($listId) -> list
Description
Returns a constant List of ASCII string characters for the given $listId
.
listId List of characters ------- ------------------------ all: [digits] + [letters] letters: [lettersLower] + [lettersUpper] lettersLower: abcdefghijklmnopqrstuvwxyz lettersUpper: ABCDEFGHIJKLMNOPQRSTUVWXYZ digits: 0123456789 hex: 0123456789abcdefABCDEF hexUpper: 0123456789ABCDEF hexLower: 0123456789abcdef octal: 01234567
Example:
String.charList('letters').contains('t') //= true String.charList('hex')[12] //= 'c'