[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LazUTF8' (#lazutils)

UTF8RPos

Gets the right-most position in the source string for the substring value.

Declaration

Source position: lazutf8.pas line 148

function UTF8RPos(

  const Substr: string;

  const Source: string

):PtrInt;

Arguments

Substr

  

Value to locate in Source.

Source

  

String with values examined in the routine.

Function result

Pointer to the position in Source.

See also

UTF8Length

  

Gets the length of a UTF-8-encoded string in codepoints.


Version 3.2 Generated 2024-02-25 Home