| [Overview][Types][Procedures and functions][Variables][Index] |
Returns the character index, where the SearchForText starts in SearchInText
Source position: lazutf8.pas line 112
function UTF8Pos( |
const SearchForText: string; |
const SearchInText: string; |
StartPos: SizeInt = 1 |
):PtrInt; |
Returns the character index, where the SearchForText starts in SearchInText. An optional StartPos can be given (as character index, not in byte). Returns 0 if not found.
| lazarus-ccr.sourceforge.net |