HomeManualTopicsTypesSymbols

std::split

splits a string into several parts and returns a list of these parts

Parameters

self
separator (default: ' ')

Results

None

Description

The separators are removed.

Example

$items split("a;b;c" ";") dump! 2 `items

Output

items: list "a" "b" "c"

Topic

Strings

See also

std_types::string/std::join