ASPxClientUtils.Trim(str) Method
Trims all leading and trailing whitespaces from the string.
Declaration
static Trim(
str: string
): string
Parameters
| Name | Type | Description |
|---|---|---|
| str | string | A string value representing the string for trimming. |
Returns
| Type | Description |
|---|---|
| string | A string value representing the trimmed string. |
Remarks
To trim only leading or trailing whitespaces from the string, use the ASPxClientUtils.TrimStart and ASPxClientUtils.TrimEnd methods.
See Also