Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

CStr

The CStr function will convert an ASP variant value into a character string. This conversion method works on all types of values and should not throw a runtime error.

A lot of conversions to string are done implicitly where needed. This means you can concatenate a string value with a numeric value and the numeric value will be converted to a string automatically. There are very few cases where you will need to explicitly do this conversion using the CStr function.

Dim nValue

nValue = 23.6
Response.Write "Value = " & CStr(nValue)

Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"True friends stab you in the front." - Oscar Wilde

©2007 Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.