Qtp Script to find the number of occurences of a char in a string
str="hellllllllo all"
counter=0
For i=1 to len(str)
char=mid(str,i,1)
If char="l" Then
counter=counter+1
End If
Next
Msgbox counter
Qtp Scripts,Selenium scripts,Telugu Songs Lyrics,Latest Telugu Songs Lyrics,Selenium Webdriver scripts,Selenium examples,Quick Test Professional,Automation Testing,QTP,Quick Test Professional(QTP),Quick Test Pro,Descriptive Programming in QTP,DP,Testing Interview Questions,QTP Scripts,QTP Basic Scripts,Testing,Testing Resources,QTP Basics,QTP Beginners,QTP Blog,Selenium sample scripts,basics of selenium,basics of selenium webdriver
No comments:
Post a Comment