lang • cstr

CStr

sResult = CStr ( Expression AS Variant ) AS String sResult = CString ( Expression AS Variant ) AS String

Converts an expression into a string.

Be careful! The current localization is not used by this function.

Examples

Print CStr(-1972)
-1972
Print CStr(Now)
05/16/2002 15:08:31
Print CStr(Pi)
3.14159265359

See also