Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
newcf #1
mid function
The email address is not alway in order. Users are not alway have all three
emails address, some time one, or two. It dosen't matter howmay email address
they have, all I need is just find the email which contains domain @os.com.
Here is the example data I have and here are my two questions:
1) How would I output only the email have domain @os.com
2) If #1 is impossible to do it, then would I output all three emails and
sperate them by common (,) I tried the code below but I can't make it work.
Please help -thanks
************************************************** ****
<cfset email ="als@es.com: la.l.smi@escom: [email]aa.l.smith@os.com[/email] added to E-mail
(subjectAltName) for.......>
<cfset fieldValue2 = mid(find('added','email',2),1,1)>
<cfoutput>#fieldValue2#</cfoutput>
newcf Guest
-
[PHP-DEV] named function arguments (was: Proposal: Dangling comma in function
Christian Schneider wrote: Named parameters - i think is very good idea. I know i would use them. I'm really not sure about the correct... -
#25866 [Bgs]: Using error_reporting() function don't change output of phpinfo() function
ID: 25866 Updated by: sniper@php.net Reported By: sfournier at dmsolutions dot ca Status: Bogus Bug Type: ... -
note 33714 added to function.register-tick-function
please can anyone help me to discover if this function can be used to make a chat ---- Manual Page --... -
note 33575 added to function.register-shutdown-function
If your script exceeds the maximum execution time, and terminates thusly: Fatal error: Maximum execution time of 20 seconds exceeded in - on line... -
note 33132 deleted from function.register-shutdown-function by sniper
Note Submitter: markus@malkusch.de ---- I can't agree with nick at nickjoyce dot com. I use php 4.2.3 on linux and my shutdown function is... -
Dan Bracuk #2
Re: find function
If in a query
where email like '%@os.com'
If in cold fusion
if(right(email, 7) is "@os.com")
do something
Dan Bracuk Guest



Reply With Quote

