Joined: Tue Mar 27, 2007 10:55 pm Posts: 2272 Location: Earth Has thanked: 39 time Have thanks: 61 time
Following example compare two strings
Code:
<% Dim strExample1 , strExample2 'initialization strExample1 = "first to do" strExample2 = "second to do" 'compare the two strings intTest= strComp(strExample1 , strExample2) 'if condition on compare If intTest= 0 Then Response.Write "Strings are the same" 'different strings Else Response.Write "strings are different" End if %>
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )