• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

ToString

Synopsis

                     ToString( )

Converts any datatype, including binary, to a string. If value can’t be converted, an exception is thrown. Example:

<cfset MyString="Have a nice day!">
<cfset Base64String = ToBase64(MyString)>
<cfset BinaryString = ToBinary(Base64String)>
<cfset BackToString = ToString(BinaryString)>
<cfoutput>
MyString: #MyString#<br>
Base64String: #Base64String#<br>
BackToString: #BackToString#<br>
</cfoutput>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint