Skip to main content

ASPxClientUtils.TrimEnd(str) Method

Trims all trailing whitespaces from the string.

Declaration

static TrimEnd(
    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

Use the ASPxClientUtils.TrimStart method to trim all leading whitespaces from the string. The ASPxClientUtils.Trim method is useful for trimming all leading and trailing whitespaces.

See Also