Documentation

util.strings.split

Split a string in a list of strings based on a separator.

Arguments:

def util.strings.split(
  s: str = None,
  separator: str = ',',
  maxsplit: int, dec = -1,
):

Returns a list of strings.

Example:

# [ 'hello', 'world' ]
util.strings.split(s="hello world", separator=" ")