Apr 27, 2005 #1 scottRen Technical User Feb 4, 2005 69 CA i have a string containing a date, the format can be either containing a / or a - as a divider between the numbers I would like to be able to determine if the string contains a / or a - so i can response.write something different for each case thanks
i have a string containing a date, the format can be either containing a / or a - as a divider between the numbers I would like to be able to determine if the string contains a / or a - so i can response.write something different for each case thanks
Apr 27, 2005 1 #2 steven290 Programmer Mar 13, 2005 1,077 US here you go str="4-0-05" Code: if instr(str,"/")=0 then response.Write "must be -" else response.Write "must be /" end if Upvote 0 Downvote
here you go str="4-0-05" Code: if instr(str,"/")=0 then response.Write "must be -" else response.Write "must be /" end if