VBScript Language Reference (CStr)
[ KiXtart VBScript Batch AutoIt HTA PowerShell Windows Command Lines Other Command Line Utilities ]CStr (Function)
Available from version 1 through the latest release.
Syntax
CStr (<expression>)
Parameters
expression = any valid expression
Description
Changes value to a string
Return Values
Returns an expression that has been converted to a Variant of subtype String.
Boolean = Returns a string containing True or False.
Date = Returns a string containing a date in the short-date format of your system.
Null = Returns a run-time error.
Empty = Returns a zero-length String ("").
Error = Returns a string containing the word Error followed by the error number.
Other numeric = returns a string containing the number.
Also see:
CBool CByte CCur CDate CDbl CInt CLng CSng
Have a correction, addition or suggestion on this? Please let us know!
Last Edited: 3/16/2004. This page has been viewed 2784 times. Unless otherwise specified, all information is (C) 2004-2007 iTripoli, Inc. All Rights Reserved.
Note: you can view this information right within ASE by right clicking any keyword and selecting "Help..."

iTripoli prides itself on providing top notch customer service
Find answers or open a ticket to ask directly, when opening a ticket we will suggest relavant articles to help you get answers as quickly and accurately as possible. Visit our support center now!



