Инструменты пользователя

Инструменты сайта


en:tcmediainfo:documentation:script_strpart

StrPart

This command splits the string by given delimiterand return substring with given index.

StrPart(string, separator, index)
stringSource string.
separatorDelimiter.
indexIndex 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».

en/tcmediainfo/documentation/script_strpart.txt · Последнее изменение: 2020/03/19 12:19 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki