Edit

Share via


XsltFunctions.NormalizeSpace(String) Method

Definition

Removes leading and trailing spaces from the specified string and returns the result. Implements normalize-space function from the W3C XPath standard.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static System::String ^ NormalizeSpace(System::String ^ value);
public static string NormalizeSpace (string value);
static member NormalizeSpace : string -> string
Public Shared Function NormalizeSpace (value As String) As String

Parameters

value
String

The specified string.

Returns

A normalized string.

Applies to