To find last occurance of a string

by Nirmala 2009-08-24 10:13:39

Hi...
To find last occurance of a string using ASP use the below code.
<% Dim str
str="dfhgdsfghfdhfghaqew"
str=InStrRev(str,"g")
Response.Write(str)%>

Output:14

Tagged in:

1241
like
1
dislike
0
mail
flag

You must LOGIN to add comments