JCL Help:StrCharsCount@AnsiString@TSysCharSet
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: StrCharsCount Function
[+] JclAnsiStrings.pas Functions
Search in JCL Help
Search in all projects
Summary
Counts the occurrences of characters in a string.
Pascal
function StrCharsCount(const S: string; const Chars: TCharValidator): SizeInt; overload;
function StrCharsCount(const S: string; const Chars: array of Char): SizeInt; overload;
function StrCharsCount(const S: AnsiString; Chars: TSysCharSet): SizeInt;
Parameters
Parameters | Description |
const S: string | Source string. |
const Chars: TCharValidator | The characters which occurrences to count. |
Return Value
The number of occurrences of Chars in S.
Description
StrCharsCount returns the number of occurrences of the specified characters in the supplied string.
About
Unit
Donator
Anonymous
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page