Re: string extraction

2007-11-02 Thread Claude Schneegans
Try this : CFSET string = listGetAt(thetrace, 3, .) . listLast(thetrace, .) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

string extraction

2007-11-02 Thread Orlini, Robert
Hello, I have an IP address as a string and am trying to display just the last two octets. For example, if the string contains [192.29.100.100], I want to display just the 100.100 without brackets. I used the mid function as: CFSET bracket = '#find([,thetrace)#'

Re: string extraction

2007-11-02 Thread Charlie Griefer
rereplace(thetrace, '[^0-9.]', '', 'all') will replace everything that's not the actual IP then you can just use listGetAt(theTrace, 3, '.') and listGetAt(theTrace, 4, '.') On Nov 2, 2007 9:23 AM, Orlini, Robert [EMAIL PROTECTED] wrote: Hello, I have an IP address as a string and am trying to

English string extraction

2002-10-21 Thread Kevin Gilchrist
HI all, I'm coordinating the translation of a CF extranet application to Japanese. I intend to hand off a spreadsheet of strings to be translated to a linguist. Right now I'm thinking that writing an app to try and strip out strings would be a multiple of the time it would take to copy and

Re: English string extraction

2002-10-21 Thread Paul Hastings
This is a long shot but it'd make life easier if someone knew of a tool that might do this. I know they exist for compiled langauges so maybe there's one that might work for CFML? ibm's resource bundle manager is one cool tool for this sort of thing.

RE: English string extraction

2002-10-21 Thread Kevin Gilchrist
Thanks, I'll give that a look! -Original Message- From: Paul Hastings [mailto:paul;tei.or.th] Sent: Monday, October 21, 2002 12:58 PM To: CF-Talk Subject: Re: English string extraction This is a long shot but it'd make life easier if someone knew of a tool that might do this. I