split
split()
Section titled “split()”Category: String
Splits the input string by the specified separator and returns a collection of strings
Signature
Section titled “Signature”- Return type:
collection - Parameters:
separatorstring— String to split by
Examples
Section titled “Examples”'a,b,c'.split(',')Patient.name.text.split(' ')