<- CRPL reference <- String Commands

StringToList

ArgumentsResultNotation
String List of characters in String s1 – L1

Description

Splits s1 into a list of individual characters.

Examples

# Split a word into a list of characters
"creeper" StringToList ->word

The list word now contains 7 elements: 'c', 'r', 'e', 'e', 'p', 'e', 'r'