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.
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)#'
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
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
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.
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
6 matches
Mail list logo