Thanks Ray, that one did the trick. I won't even tell ya what I was
trying to use...
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 3:21 PM
To: CF-Talk
Subject: RE: String Manipulation help needed
No - that will return "h
Or you could just use the CGI structure to grab info about the host
name.
I think the one you want is cgi.http_host.
- Matt Small
-Original Message-
From: Dave Hannum [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 3:14 PM
To: CF-Talk
Subject: Re: String Manipulation help
http://www.foobar.com/images/screwy.gif";>
#myURL#
This code will do it. You can use the "/" as list delimiters, in which
you're just grabbing the first two items in the list into a variable.
Keep in mind that you're not using the 1st and 3rd item in the list because
ColdFusion doesn't include
L PROTECTED]
Yahoo IM : morpheus
"My ally is the Force, and a powerful ally it is." - Yoda
> -Original Message-
> From: Dave Hannum [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 23, 2002 3:14 PM
> To: CF-Talk
> Subject: Re: String Manipulation help
Is it just for this string?
If so...#Left(string,21)# ...should do it.
If for any url (return everything before the third "/"):
then...#Left(sting,Left("/",string,8))# ...should do it.
Ryan
-Original Message-
From: Tim Claremont [mailto:[EMAIL PROTECTED]]
Sent: Tuesday,
Try this,
ListFirst("http://www.foobar.com/images/screwy.gif";, "/")
Dave
- Original Message -
From: "Tim Claremont" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 23, 2002 2:59 PM
Subject: String Manipulation help needed
I have the following string:
http
6 matches
Mail list logo