Converts the value, specified as an argument, to a string value.
Copy Code |
---|
string CStr ( |
The data in value determines what is returned according to the following table:
Parameter Type | Return Value |
---|---|
Boolean | A string containing "true" or "false". |
Date | A string containing a date in the short-date format of your system. |
Null | A zero-length string (""). |
Empty | A zero-length string (""). |
Other numeric | A string containing the number. |
Conversion Functions
CBool Function
CDate Function
CInt Function
CLong Function
CSng Function
Str Function