CStr Function

Converts an expression to a String value. The expression argument is any valid expression.

CStr (Expression)

Return Value

Returns an expression that has been converted to a String value.

Examples

CStr (123)

Returns the string value "123".

CStr (Error)

Returns the string value "(Error)".

TIP:

Functions are specifically for use in the Macro Editor. Refer to Microsoft's official VB and JScript documentation for scripting equivalents.

See Also

CBool function | CCur function | CDate function | CDec function | CInt function | CStr function | CUInt function | Functions


© 2004-2021 looksoftware. All rights reserved.