VBScript CStr Function
Complete VBScript Reference
The CStr function converts an expression to type String.
Syntax
Parameter |
Description |
expression |
Required. Any valid expression If expression is:
- Boolean - then the CStr function will return a string containing true
or false.
- Date - then the CStr function will return a string that contains a
date in the short-date format.
- Null - then a run-time error will occur.
- Empty - then the CStr function will return an empty string ("").
- Error - then the CStr function will return a string that contains the
word "Error" followed by an error number.
- Other numeric - then the CStr function will return a string that
contains the number.
|
Example 1
dim a
a=false
document.write(CStr(a))
Output:
false
|
Example 2
dim a
a=#01/01/01#
document.write(CStr(a))
Output:
1/1/2001
|
Complete VBScript Reference
Learn how your website performs under various load conditions
|
|
WAPT
is a load, stress and performance testing tool for websites and web-based applications.
In contrast to "800-pound gorilla" load testing tools, it is designed to minimize the learning
curve and give you an ability to create a heavy load from a regular workstation.
WAPT is able to generate up to 3000 simultaneously acting virtual users using standard hardware configuration.
Virtual users in each profile are fully customizable. Basic and NTLM authentication methods are supported.
Graphs and reports are shown in real-time at different levels of detail, thus helping to manage the testing process.
Download the free 30-day trial!
|
|