The requested page is not available for the requested platform. You are viewing the content for Default platform.

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