do you have to know it is going to be a comma? Barcodes are usually numbers so...... <cfset seperator = LEFT(1, REReplace(barcode, "[^[:alpha:]]", "", "ALL")) /> That will give you what ever is seperating the numbers
_____ From: Mark Ireland [mailto:[email protected]] Sent: Tuesday, 21 July 2009 4:50 PM To: [email protected] Subject: [cfaussie] Re: barcode magnetic stripe readers in forms I have never tried this. Do you know for sure that the barcode and magnetic stripe value would be returned as comma seperated? _____ From: [email protected] To: [email protected] Subject: [cfaussie] Re: barcode magnetic stripe readers in forms Date: Tue, 21 Jul 2009 14:10:18 +1000 Cant you just accept them into a single form field and pull it apart afterwards Regards Dale Fraser http://dale.fraser.id.au http://learncf.com http://flexcf.com From: [email protected] [mailto:[email protected]] On Behalf Of Mark Ireland Sent: Tuesday, 21 July 2009 1:11 PM To: [email protected] Subject: [cfaussie] barcode magnetic stripe readers in forms I have used a barcode scanner to populate a field in a form but . . .. I need to get both the barcode and the values in the magnetic stripe on the back of the card into a form. I found a card reader that does both at once but I need to know if anyone has successfully used one to get both values into a form in one swipe. _____ Sell your car fast. Need <http://a.ninemsn.com.au/b.aspx?URL=http://secure-au.imrworldwide.com/cgi-bi n/a/ci_450304/et_2/cg_801459/pi_1004813/ai_866383&_t=758314219&_r=carpoint_t agline&_m=EXT> a new model in your life? _____ Sell your car fast. Need a new model in your <http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide% 2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2F ai%5F866383&_t=758314219&_r=carpoint_tagline&_m=EXT> life? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
