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....



CountStringInString


Unit:SDL_stringl
Class: none
Declaration: function CountStringInString (SearchStr: string; InString: string; CaseSensitive: boolean): integer;

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



Last Update: 2023-Feb-06