Divides a single string into two substrings. You can divide the string at a certain character, word, or phrase. Search/Split String searches string for the string or character in search string/char. The function splits the string and returns the resulting two strings in substring before match and match + rest of string.
![]() |
string is the input string the function searches or splits. |
![]() |
search string/char is the string or character to search for in string. If unwired or an empty string, the function splits string at offset. You must wire either search char or offset. |
![]() |
offset is the starting position and must be numeric. The offset of the first character in the string is 0. If unwired or if less than 0, the default is 0. |
![]() |
substring before match is the portion of string before search string/char or before offset, if this is unwired. |
![]() |
match + rest of string consists of search string/char and all subsequent characters in string. |
![]() |
offset of match is the position of search string/char in string. |