Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

counting the number of characters in a field

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
is there a way to count the amount of characters being used in a field?

so, if the field had the word 'people' in it, the result would be 5

thanks,
cody
 
Len
Description
Returns the length of a string or binary object.

Category
String functions

Syntax
Len(string or binary object)

<cfset form.myField = &quot;people&quot;>
<cfoutput>
The length of form.myField is #Len(form.myField)#
</cfoutput> - tleish
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top