ExtensionsTrimAdvanced Method
|
Returns the input value removing any spaces from the beginning and end, and removing any duplicate spaces.
Namespace:
Aruba.Cloud.Domains.Common.Entities
Assembly:
Aruba.Cloud.Domains.Common.Entities (in Aruba.Cloud.Domains.Common.Entities.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static string TrimAdvanced(
this string value
)
<ExtensionAttribute>
Public Shared Function TrimAdvanced (
value As String
) As String
public:
[ExtensionAttribute]
static String^ TrimAdvanced(
String^ value
)
[<ExtensionAttribute>]
static member TrimAdvanced :
value : string -> string
public static function TrimAdvanced(
value : String
) : String
Parameters
- value
- Type: SystemString
The string to clean
Return Value
Type:
StringCleaned string
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