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



TestAllChar


Unit:SDL_stringl
Class:none
Declaration:function TestAllChar (Instr: string; cc: char): boolean;

The function TestAllChar returns a TRUE value if all characters of the string Instr are equal to cc. This function is particularly useful in order to test whether a string consists of all blanks (which must be differentiated sometimes from an empty string). An empty string returns a FALSE value.

 



Last Update: 2023-Feb-06