共用方式為


String Type Functions

Functions

Name

Description

String.endsWith Function

Determines whether the end of the String object matches the specified string.

String.format Function

Replaces each format item in a String object with the text equivalent of a corresponding object's value.

String.localeFormat Function

Replaces the format items in a String object with the text equivalent of a corresponding object's value. The current culture is used to format dates and numbers.

String.startsWith Function

Determines whether the start of the String object matches the specified string.

String.trim Function

Removes leading and trailing white space from a String object instance.

String.trimEnd Function

Removes trailing white space from a String object instance.

String.trimStart Function

Removes leading white space from a String object instance.

See Also

Reference

String Type Extensions