How?- is the chunk a date?

Rich Lague laguer at ucs.orst.edu
Tue May 10 21:27:46 EDT 2005


I'm trying to check if a certain chunk in a line is a date. All the 
dates will be in the short date format.

I have been able to do it with this --

if (char -3 of item -2 of tCurrentRec) = "/" then

But it doesn't seem very elegant. Is there a better way?

? Can I do something like:

if item -2 of tCurrentRec is a date then...


Thanks,

Rich


More information about the use-livecode mailing list