or at least always the last two characters. Tim Heald ACP/CCFD :) Application Development www.schoollink.net
> -----Original Message----- > From: Timothy Heald [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 24, 2002 2:17 PM > To: CF-Talk > Subject: RE: Quick help > > > <cfset last2 = right(myVar, 2)> > > That will only work if it's always four characters. > > Tim Heald > ACP/CCFD :) > Application Development > www.schoollink.net > > > -----Original Message----- > > From: Kris Pilles [mailto:[EMAIL PROTECTED]] > > Sent: Monday, June 24, 2002 2:11 PM > > To: CF-Talk > > Subject: Quick help > > > > > > I have a control year > > I need to trim the first 2 digits off of it inorder to use the last 2 in > > a date.... > > > > How can I do this? > > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

