hi ,
For Question #3
print find("ravipkinrapsadadp","p","3")
Function find(str,alpa,occurence)
'str="ravipkinrapsadadp"
length=len(str)
For i=1 to length
alpa1=mid(str,i,1)
If alpa1="p" Then
j=j+1
If j=3 Then
Exit For
End If
End If
Next
find=i
End Function
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en