CStr

Function that converts an expression into a String.

Syntax
      CStr(expression)
 

Examples

Dim strDemo
strDemo = CStr("8 St James Street")

“People have a peculiar pleasure in making converts, that is, in causing others to enjoy what they enjoy, thus finding their own likeness represented and reflected back to them” ~ Johann Wolfgang von Goethe

Related VBScript commands

CBool - Convert to boolean.
CByte
- Convert to byte.
CDate
- Convert to Date.
CInt - Convert to Integer (number).
UCase - Uppercase String


 
Copyright © 1999-2024 SS64.com
Some rights reserved