View Issue Details

IDProjectCategoryView StatusLast Update
0038523FPCRTLpublic2021-02-22 13:58
ReporterCudaText man Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version3.3.1 
Summary0038523: StrUtils unit misses UnicodeStrings versions of many funcs
Descriptionhttps://github.com/graemeg/freepascal/blob/master/packages/rtl-objpas/src/inc/strutils.pp

function PosSet (const c:TSysCharSet;const s : ansistring ):SizeInt;
function PosSet (const c:string;const s : ansistring ):SizeInt;
function PosSetEx (const c:TSysCharSet;const s : ansistring;count:Integer ):SizeInt;
function PosSetEx (const c:string;const s : ansistring;count:Integer ):SizeInt;

Procedure Removeleadingchars(VAR S : AnsiString; Const CSet:TSysCharset);
Procedure RemoveTrailingChars(VAR S : AnsiString;Const CSet:TSysCharset);
Procedure RemovePadChars(VAR S : AnsiString;Const CSet:TSysCharset);

function TrimLeftSet(const S: String;const CSet:TSysCharSet): String;
Function TrimRightSet(const S: String;const CSet:TSysCharSet): String;
function TrimSet(const S: String;const CSet:TSysCharSet): String;

I cannot find these funcs for UnicodeString. Pls add them.
TagsNo tags attached.
Fixed in Revision
FPCOldBugId
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2021-02-22 13:58

administrator   ~0129099

The plan is to have a complete unicode version of this unit, not to add all functions twice.

Issue History

Date Modified Username Field Change
2021-02-21 13:35 CudaText man New Issue
2021-02-22 13:58 Michael Van Canneyt Note Added: 0129099