Click or drag to resize

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)
Syntax
public static string TrimAdvanced(
	this string value
)

Parameters

value
Type: SystemString
The string to clean

Return Value

Type: String
Cleaned 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