 | StringExtensionsTrimSingle Method |
Trims a single character form the head and the end of the string.
Namespace:
CSScriptLib
Assembly:
CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
Syntaxpublic static string TrimSingle(
this string text,
params char[] trimChars
)
Parameters
- text
- Type: SystemString
The text. - trimChars
- Type: SystemChar
The trim chars.
Return Value
Type:
String[Missing <returns> documentation for "M:CSScriptLib.StringExtensions.TrimSingle(System.String,System.Char[])"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also