Avatar of nmarano
nmarano
 asked on

Deleting Part of a Name

Experts-

I have this name

<cfset myname = 'ABCSeamlessAlaska15442/GutterProtection/GH/AK (1145)'>

And I want to remove everything after the first '/' including the backslash

any help would be appreciated.
ColdFusion Language

Avatar of undefined
Last Comment
_agx_

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
_agx_

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
nmarano

ASKER
agx-  Thanks!  I was treating it that way, but hit a wall on how to only return everything prior to the first '/'  

Will retweak in a minute
nmarano

ASKER
Thanks!  I was using the listfind then replacing which was obviously only replacing the "/" and not the rest of the string

Thanks
Nick
_agx_

You're welcome. Anytime :)
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy