Compares each string in string array with the beginning of string until it encounters a match.
![]() |
string is the string to match to the prefixes in string array. The default is an empty string. |
![]() |
string array is the array of strings that you want to match with string. If the function encounters an empty string in string array, the function considers it a match. |
![]() |
output string contains the original string with the matching prefix removed. If the beginning of string does not match any string in string array, output string is the original string. |
![]() |
index is the index of the matching prefix in string array.
If the beginning of string does not match any string in string array, index is 1.
index must be numeric. |