[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Function: text.split\n\nSplits the source string into a list of all substrings between each instance of the separator.\n\nThe separator itself is excluded from the substrings. In the case of\noverlapping instances of the separator, the leftmost match is considered.\n\nEmpty substrings are included in the list.\n\nIf the separator is not found, then a list containing only the source string\nis returned.\n\nArguments\n---------\n\nReturns\n-------\n\nA list of substrings in `source`.\n\nRaised exceptions\n-----------------\n\nExamples\n--------\n\n### Example 1\n\n```yaml\n# Overlapping separator instances; leftmost match is considered\n- returnStep:\n return: ${text.split(\"baaab\", \"aa\")} # returns `[\"b\", \"ab\"]`\n```\n\n### Example 2\n\n```yaml\n# Separator is found at beginning of string\n- returnStep:\n return: ${text.split(\"abc\", \"a\")} # returns `[\"\", \"bc\"]`\n```\n\n### Example 3\n\n```yaml\n# Separator is found at end of string\n- returnStep:\n return: ${text.split(\"abc\", \"c\")} # returns `[\"ab\", \"\"]`\n```\n\n### Example 4\n\n```yaml\n# Consecutive instances of the separator\n- returnStep:\n return: ${text.split(\"abbc\", \"b\")} # returns `[\"a\", \"\", \"c\"]`\n```"]]