> I have a field that contains the number of authorized vehicles vs. the
number of assigned vehicles like this: 14/12.  What function would  I use to
grab everything to the left of the "/" and then everything to the right of
the "/" to display them in separate text boxes?
----------------------------

Erika,

Try this:

<cfset testfield = "14/12">
<cfset leftPart = ListFirst(testfield,"/")>
<cfset rightPart = ListLast(testfield,"/")>

hth,

ron
http://humankindsystems.com
mailto:[EMAIL PROTECTED]





------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to