The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



CountCharInString


Unit:SDL_stringl
Class: none
Declaration: function CountCharInString (cc: char; InString: string; CaseSensitive: boolean): integer;

The function CountCharInString counts the number of occurrences of the character cc in the string InString . Lower and upper case letters are not discriminated if CaseSensitive is set to false.



Last Update: 2023-Feb-06