Re: How can I check this string a different way?

2007-04-30 Thread morgan lindley
Am I missing something here? Isn't the Left 2 of OL1 or OL2 'OL'? >Will said that it would be OL1, OL2, in which case your example wouldn never >eval to true. > >Will, something like this should work: > >"-"))> > >That looks for the letters OL followed by at least one number. > > >

RE: How can I check this string a different way?

2007-04-30 Thread Andy Matthews
, 2007 4:24 PM To: CF-Talk Subject: Re: How can I check this string a different way? - Original Message - From: "Will Tomlinson" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Saturday, April 28, 2007 2:54 PM Subject: How can I check this string a different way? >I ne

Re: How can I check this string a different way?

2007-04-28 Thread Jim McAtee
- Original Message - From: "Will Tomlinson" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Saturday, April 28, 2007 2:54 PM Subject: How can I check this string a different way? >I need a better way to evaluate a string here. Maybe a regex I guess? > > I hav

How can I check this string a different way?

2007-04-28 Thread Will Tomlinson
I need a better way to evaluate a string here. Maybe a regex I guess? I have a hyphen-delimited list. The last item in the list needs to be flagged if it contains OL1, OL2, etc. Just if it contains the OL at all, I need to flag it as an online course. Here's what I'm using now, what's a bett