#1 2018-09-26 14:35:19

dexter
Member
Registered: 2015-04-24
Posts: 53

PosEx against PUTF8Char

Hi,

how ca I do a PosEx to search inside a PUTF8Char (and avoid _LStrFromPCharLen) ?

Offline

#2 2018-09-26 16:43:23

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: PosEx against PUTF8Char

StrPosI() from SynCommons.pas ?
but it is case insensitive

For case-sensitive, just use standard StrPos() function using a PAnsiChar.

Offline

Board footer

Powered by FluxBB