To find first occurance of a character in a string using asp
by Nirmala[ Edit ] 2009-08-24 10:18:29
Hi...
To find the first occurance of character in a string use the below code.
<% Dim str
str="dfhgdsfghfdhfghaqew"
str=InStr(str,"h")
Response.Write(str)%>
Output:3