Carrot reference
Functions

split()

divides a string into a list of strings syntax split(string, delimiter) string the string value to be divided into an array of sub strings delimiter the character or set of characters that indicate where to split the input string return type list sample usage split("i am a string", ' ') returns a list of component strings consisting of i , am , a , and string split("this is text", ' ')\[2] returns text supported data types input type return type logic string docid\ ujw2aqaktel5uuklup73s list, optionally string docid\ ujw2aqaktel5uuklup73s if a string is passed, that string will be parsed into an array (list) of component strings specifying the array index will return the string value of that index unsupported data types null docid\ n9trvqonnbknql9drnbp6 unsupported data types return null