RE: Should be easy :)
> Yes. To replace all, you'd make it Replace(temp,".","",all)> The all must be in quotes, otherwise it look s for a variable called all Philip Arnold Technical Director Certified ColdFusion Developer ASP Multimedia Limited Switchboard: +44 (0)20 8680 8099 Fax: +44 (0)20 8686 7911 www.aspmedia.co.uk www.aspevents.net An ISO9001 registered company. ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Should be easy :)
Btw..."ONE" is the default scope for replace! André -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED]] Sent: 20 February 2003 12:21 To: CF-Talk Subject: Re: Should be easy :) Will that not replace ALL periods ? I just want the first... On 20/2/03 12:17, "Simon Whittaker" <[EMAIL PROTECTED]> wrote: > say that temp is your variable > > > > > Cheers > > Simon > - Original Message - > From: "Ryan Mitchell" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, February 20, 2003 12:14 PM > Subject: Should be easy :) > > >> This should be an easy one. >> >> How do I remove the first fullstop/period in a string ? >> >> TIA >> Ryan >> >> > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Should be easy :)
At 12:21 PM 02/20/03 +, Ryan Mitchell wrote: >Will that not replace ALL periods ? >I just want the first... Yes. To replace all, you'd make it T ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Should be easy :)
Specify "ONE" as your scope. e.g. The CF docs are quite comprehensive on tag use. André -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED]] Sent: 20 February 2003 12:21 To: CF-Talk Subject: Re: Should be easy :) Will that not replace ALL periods ? I just want the first... On 20/2/03 12:17, "Simon Whittaker" <[EMAIL PROTECTED]> wrote: > say that temp is your variable > > > > > Cheers > > Simon > - Original Message - > From: "Ryan Mitchell" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, February 20, 2003 12:14 PM > Subject: Should be easy :) > > >> This should be an easy one. >> >> How do I remove the first fullstop/period in a string ? >> >> TIA >> Ryan >> >> > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Should be easy :)
Cheers Simon - Original Message - From: "Ryan Mitchell" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 12:21 PM Subject: Re: Should be easy :) > Will that not replace ALL periods ? > I just want the first... > > > On 20/2/03 12:17, "Simon Whittaker" <[EMAIL PROTECTED]> wrote: > > > say that temp is your variable > > > > > > > > > > Cheers > > > > Simon > > - Original Message - > > From: "Ryan Mitchell" <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Thursday, February 20, 2003 12:14 PM > > Subject: Should be easy :) > > > > > >> This should be an easy one. > >> > >> How do I remove the first fullstop/period in a string ? > >> > >> TIA > >> Ryan > >> > >> > > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Should be easy :)
Will that not replace ALL periods ? I just want the first... On 20/2/03 12:17, "Simon Whittaker" <[EMAIL PROTECTED]> wrote: > say that temp is your variable > > > > > Cheers > > Simon > - Original Message - > From: "Ryan Mitchell" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, February 20, 2003 12:14 PM > Subject: Should be easy :) > > >> This should be an easy one. >> >> How do I remove the first fullstop/period in a string ? >> >> TIA >> Ryan >> >> > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Should be easy :)
say that temp is your variable Cheers Simon - Original Message - From: "Ryan Mitchell" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 12:14 PM Subject: Should be easy :) > This should be an easy one. > > How do I remove the first fullstop/period in a string ? > > TIA > Ryan > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Should be easy :)
Replace(sString, ".", "") HTH -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 12:14 To: CF-Talk Subject: Should be easy :) This should be an easy one. How do I remove the first fullstop/period in a string ? TIA Ryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4