<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? > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. 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

