mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 00:50:49 +02:00
+ StrNextChar implemented
git-svn-id: trunk@7803 -
This commit is contained in:
parent
792f84a710
commit
e1125c3f7f
@ -2460,8 +2460,8 @@ begin
|
||||
Result:=mbSingleByte;
|
||||
end;
|
||||
|
||||
Function StrByteType(Str: PChar; Index: Cardinal): TMbcsByteType;
|
||||
|
||||
Function StrByteType(Str: PChar; Index: Cardinal): TMbcsByteType;
|
||||
begin
|
||||
Result:=mbSingleByte;
|
||||
end;
|
||||
@ -2473,6 +2473,12 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
function StrNextChar(const Str: PChar): PChar;
|
||||
begin
|
||||
result:=Str+StrCharLength(Str);
|
||||
end;
|
||||
|
||||
|
||||
Function FindCmdLineSwitch(const Switch: string; const Chars: TSysCharSet;IgnoreCase: Boolean): Boolean;
|
||||
|
||||
Var
|
||||
|
@ -218,6 +218,7 @@ Function ByteToCharLen(const S: string; MaxLen: Integer): Integer;
|
||||
Function CharToByteLen(const S: string; MaxLen: Integer): Integer;
|
||||
Function ByteToCharIndex(const S: string; Index: Integer): Integer;
|
||||
Function StrCharLength(const Str: PChar): Integer;
|
||||
function StrNextChar(const Str: PChar): PChar;
|
||||
|
||||
|
||||
const
|
||||
|
Loading…
Reference in New Issue
Block a user