CStr

Function that converts an expression into a String.

Syntax
      CStr(expression)


Example

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:

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


 
Copyright © SS64.com 1999-2019
Some rights reserved