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



StripLeadingChars


Unit:SDL_stringl
Class:none
Declaration:function StripLeadingChars (cc: char; Instring: string): string;

The function StripLeadingChars returns the string Instring after removing any leading characters specified by the parameter cc.

Example: The statement "astr := StripLeadingChars ('.', '... to be or not to be.....'); " returns the string " to be or not to be..... " to the variable astr.


Last Update: 2023-Feb-06