Skip to main content

ASPxClientUtils.TrimStart(str) Method

Trims all leading whitespaces from the string.

Declaration

static TrimStart(
    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.TrimEnd method to trim all trailing whitespaces from the string. The ASPxClientUtils.Trim method is useful for trimming all leading and trailing whitespaces.

See Also