troubleshooting Question

remove abbreviation

Avatar of lulu50
lulu50Flag for United States of America asked on
ColdFusion Language
3 Comments2 Solutions321 ViewsLast Modified:
Hi,

I have a field in the database that list the states like this.

StateName

Alaska (AK)
Arizona (AZ)
Arkansas (AR)
California (CA)
Colorado (CO)
Connecticut (CT)
Delaware (DE)
Florida (FL)
Georgia (GA)
Hawaii (HI)
Idaho (ID)
Illinois (IL)

what I want is to output the field like this

<cfoutput>#DispChDetail.StateName#</cfoutput>

the result should be without the abbreviation

like this

Alaska
Arizona
Arkansas
California
Colorado
Connecticut
Delaware
Florida
Georgia
Hawaii
Idaho
Illinois

I don't want to remove the abbreviation from the database because I need it to display it with abbreviation in a different place.

just on one page that I don't want the abbreviation.
How can I remove it.
 
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros