|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
finding a numberHi folks, I'm working on trying to find the presence of any number in a string using ListContains() but have yet to find an example of what I am looking for. I am just trying to make sure the string has at least one number in it, could be anywhere in the string. Anyone have an example of what the RegEx might look like? TIA Bob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4800 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.15 |
|
|
RE: finding a numberBob: findOneOf("0123456789",sStringToSearch) Dave Phillips -----Original Message----- From: Imperial, Robert [mailto:bob_imperial@...] Sent: Wednesday, September 02, 2009 2:11 PM To: cf-newbie Subject: finding a number Hi folks, I'm working on trying to find the presence of any number in a string using ListContains() but have yet to find an example of what I am looking for. I am just trying to make sure the string has at least one number in it, could be anywhere in the string. Anyone have an example of what the RegEx might look like? TIA Bob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4801 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.15 |
|
|
RE: finding a numberThanks Dave and wow you can't get any simpler than that ;-) Bob the simple minded -----Original Message----- From: Dave Phillips [mailto:experiencedcfdeveloper@...] Sent: Wednesday, September 02, 2009 3:18 PM To: cf-newbie Subject: RE: finding a number Bob: findOneOf("0123456789",sStringToSearch) Dave Phillips -----Original Message----- From: Imperial, Robert [mailto:bob_imperial@...] Sent: Wednesday, September 02, 2009 2:11 PM To: cf-newbie Subject: finding a number Hi folks, I'm working on trying to find the presence of any number in a string using ListContains() but have yet to find an example of what I am looking for. I am just trying to make sure the string has at least one number in it, could be anywhere in the string. Anyone have an example of what the RegEx might look like? TIA Bob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4802 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.15 |
| Free embeddable forum powered by Nabble | Forum Help |