[Javascript] InStr

Paul McGuire pmcguire at cguk.co.uk
Fri Aug 6 08:20:04 CDT 2004


Does inStr or similar exist in Javascript and how is it used. I am writing a date add function that takes a date adds the delivery time to it then checks to make sure its not a weekend. I wanting to do this by formatting the date to the SUN 21 JUNE type format and then using a InStr type function to pick out the "Sun" if it finds it I add another day to the delivery time as weekend delivery is not allowed.

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20040806/2fd036ee/attachment.htm>


More information about the Javascript mailing list