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

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


en:tcmediainfo:documentation:script_strpos

StrPos

Function return substring position in the string.

StrPos(string, substring [, casesense [, offset]])
stringSource string.
substringSubstring for search.
casesenseCase sensitive search. 0 - case insensitive (default), 1 - case sensitive.
offsetPosition in string, from search will begin. Default is 1.

Function return an integer. If substring was found, then substring position returned, counting from 1. If not found returned 0. If offset is larger then source string length, returned 0.

en/tcmediainfo/documentation/script_strpos.txt · Последнее изменение: 2019/02/19 14:07 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki