CStr (function)

<< Click to Display Table of Contents >>

CStr (function)

CStr(Expression)

Converts an expression to the String data type.

Unlike the Str function, the string returned by CStr does not have a leading space character if it contains a positive number.

See also: CDbl, CInt, CLng, CSng, Str