If you are _sure_ the string always looks like that, you could simply do:

<cfset ds = listDeleteAt(os, listLen(os, "_"), "_")>

where os = original string.

You could also use regex to replace _FBISDocsPending if that part of the
string will always be the same as well.

-Ray

> -----Original Message-----
> From: David Adams [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 26, 2004 2:06 PM
> To: CF-Talk
> Subject: GetToken() Quiz
>
> Can anyone help me with this:
>
> Original String: fts20030918_001_2359.exe_FBISDocsPending
>
> Desired String: fts20030918_001_2359.exe
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to