Grabbing domain from email address

2002-01-28 Thread W Luke

Hi.

Can anyone recommend a tag to strip just the domain from an email address?
(after the @)

Cheers

Will

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Grabbing domain from email address

2002-01-28 Thread Jennifer Larkin

At 09:09 AM 1/28/02 +, you wrote:
>Hi.
>
>Can anyone recommend a tag to strip just the domain from an email address?
>(after the @)

You don't you just treat it as a @ delimited list and get the second item 
in the list?



Now available in a San Francisco Bay Area near you!
http://www.blivit.org/mr_urc/index.cfm
http://www.blivit.org/mr_urc/resume.cfm
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Grabbing domain from email address

2002-01-28 Thread W Luke

> >Can anyone recommend a tag to strip just the domain from an email
address?
> >(after the @)
>
> You don't you just treat it as a @ delimited list and get the second item
> in the list?
>
> 

Cheers Jennifer - spot the clueless fusioneer...

Will

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Generating HTML thumbnails, COM Question

2002-01-28 Thread Zac Spitzer

Dave Watts wrote:

>>ok, I found the class it's called
>>
>>Shell.ThumbnailExtract.HTML.1 {EAB841A0-9550-11CF-8C16-00805F1408F3}
>>
>>I tried to play with it with cfobject
>>
>>>class="Shell.ThumbnailExtract.HTML.1" action="CREATE" 
>>context="INPROC">
>>
>>but I got a .  COM error 0x80004002. No such interface 
>>supported   error
>>
>>which cfcoment says No known solutions presently exist for 
>>this error.
>>
>>anyone interested in playing a bit with this, I gotta no clue 
>>about COM, WIN32 stuff
>>
>
>This is just a shot in the dark, but you might try making sure that the CF
>Server service is running such that it allows interaction with the desktop -
>you can check this in the Services list.
>
no luck :-( but thanks for the tip.. reminds me of the old days when CF 
used to crash in 3.x and leave the crash dialog on the desktop!

z



__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



020128 Re: Grabbing domain from email address

2002-01-28 Thread cf . talk

Hi Will.

Here's the one-line source you need.  Dare I suggest that unless you're 
being humongusly structural, it's hardly worth building a tag :)

CFSET this_domain = ListLast(emailaddress,"@")

Regards, Big Ben <[EMAIL PROTECTED]>

| Date: Mon, 28 Jan 2002 09:09:31 -
| From: "W Luke" <[EMAIL PROTECTED]>
| Subject: Grabbing domain from email address
|
| Hi.
|
| Can anyone recommend a tag to strip just the domain from
| an email address? (after the @)
|
| Cheers
|
| Will

FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: UltraDev

2002-01-28 Thread Neil Clark

Maybe the design tab was not that good, and indeed it wasnt given much
attention... but the code editing of CFS is unmatched.  A good hand-coder
shouldn't need a design tab anyway - they should think in tables. :-)
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: UltraDev

2002-01-28 Thread Carlisle, Eric

Well said!  To this day, I feel very limited in a WYSIWYG interface.  
No
matter how many times I try to use Dreamweaver, I always come crawling 
back
to Studio.  That's not to say that one is right and the other is wrong.
It's just the way I'm accustomed to coding.

EC


-Original Message-
From: Neil Clark [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 9:01 AM
To: CF-Talk
Subject: RE: UltraDev


Maybe the design tab was not that good, and indeed it wasnt given much
attention... but the code editing of CFS is unmatched.  A good 
hand-coder
shouldn't need a design tab anyway - they should think in tables. :-)

__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: UltraDev

2002-01-28 Thread Neil Clark



yep, i'm with ya on that.



__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



pound signs inside DE('') - help!

2002-01-28 Thread Gyrus

Having problems with some pound signs / hash marks. Trying to write
style tag into the HTML  tag as follows:

#IIf(request.fieldValues.SQLMethod EQ 'insertSelect',
DE('#extrasInsertSelect {display: block;}'), DE('#extrasInsertSelect
{display: none;}'))#">

This throws an expression evaluation error, and I've tracked the problem
down through elimination to the pounds signs (as ID selectors). Escaping
them through doubling doesn't seem to work - nothing does! Even
DE(chr(35)&'extrasInsertSelect etc.') doesn't.

Any offers?

- Gyrus


- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available

__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: pound signs inside DE('') - help!

2002-01-28 Thread Brendan Avery

try doubling-up on your pound signs.

i.e:
#IIf(request.fieldValues.SQLMethod EQ 
'insertSelect',
DE('##extrasInsertSelect {display: block;}'), DE('##extrasInsertSelect
{display: none;}'))#">

> -Original Message-
> From: Gyrus [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 28, 2002 06:19
> To: CF-Talk
> Subject: pound signs inside DE('') - help!
> 
> 
> Having problems with some pound signs / hash marks. Trying to write
> style tag into the HTML  tag as follows:
> 
> #IIf(request.fieldValues.SQLMethod EQ 
> 'insertSelect',
> DE('#extrasInsertSelect {display: block;}'), DE('#extrasInsertSelect
> {display: none;}'))#">
> 
> This throws an expression evaluation error, and I've tracked 
> the problem
> down through elimination to the pounds signs (as ID 
> selectors). Escaping
> them through doubling doesn't seem to work - nothing does! Even
> DE(chr(35)&'extrasInsertSelect etc.') doesn't.
> 
> Any offers?
> 
> - Gyrus
> 
> 
> - [EMAIL PROTECTED]
> work: http://www.tengai.co.uk
> play: http://www.norlonto.net
> - PGP key available
> 
> 

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: pound signs inside DE('') - help!

2002-01-28 Thread Pascal Peters

I try to avoid IIF, consider using  and
. But if you insist:

#IIf(request.fieldValues.SQLMethod EQ 
'insertSelect',
DE('extrasInsertSelect {display: block;}'),
DE('extrasInsertSelect
{display: none;}'))#">

Pascal

-Original Message-
From: Gyrus [mailto:[EMAIL PROTECTED]]
Sent: maandag 28 januari 2002 15:19
To: CF-Talk
Subject: pound signs inside DE('') - help!


Having problems with some pound signs / hash marks. Trying to write
style tag into the HTML  tag as follows:

#IIf(request.fieldValues.SQLMethod EQ 
'insertSelect',
DE('#extrasInsertSelect {display: block;}'), DE('#extrasInsertSelect
{display: none;}'))#">

This throws an expression evaluation error, and I've tracked the problem
down through elimination to the pounds signs (as ID selectors). Escaping
them through doubling doesn't seem to work - nothing does! Even
DE(chr(35)&'extrasInsertSelect etc.') doesn't.

Any offers?

- Gyrus
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: pound signs inside DE('') - help!

2002-01-28 Thread Gyrus

> I try to avoid IIF, consider using  and
> . But if you insist:

 is necessary so that valid XHTML is generated -
 blocks aren't allowed outside the  tag, and
when the  code is generated there's no easy way of
knowing what