public static string Trim( string sourceString, string symbols, string whereToTrim )
Parameters
- sourceString
Type: System.String
The source string.
- symbols
Type: System.String
The specified characters for trim operation as string object.
- whereToTrim
Type: System.String
The place where need performs the trim operation. It can have the following values: Begin, End or Full.
Return Value
Type: System.String
The string that remains after all specified characters are removed from the start or end of the current string.