| RightAfterChStr Function | 
Unit
QESBPCSConvert
Declaration
Function RightAfterChStr(const S: string; const Ch: Char): string;
Description
If the specified character is not found then a null string is returned. Also See: RightAfterStr, LeftTillChStr, RightTillChStr
| Parameters | 
| S | the String from which the right substring is to be taken. | 
| Ch | the character that is searched for. | 
Category
Extra String Handling RoutinesImplementation
 
| function RightAfterChStr (const S: string; const Ch: Char): string;
var
     M: LongWord;
begin
     M := ESBPosCh (Ch, S); // Find first position of Character
     if M = 0 then
          Result := '' // If not found then return ''
     else
          Result := RightAfterStr (S, M); // Return the Right portion
End; | 
|  |