This command splits the string by given delimiterand return substring with given index.
StrPart(string, separator, index)
string | Source string. |
separator | Delimiter. |
index | Index of string part. Starting from 1. If no part with this index available then empty string return. |
Пример
StrPart('English / Russian', ' / ', 1);
For index 1 will returned «English», for index 2 — «Russian».