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

Name

Len

Synopsis

                   Len(string)

Returns the length of a string as a number. If string is binary, Len( ) returns the length of the binary buffer. Example:

<cfset MyString="This is my string.">
   
<cfoutput>
String:  #MyString#<br>
MyString is #Len(MyString)# characters long.
</cfoutput>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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