The string is like POWER STAR PAVAN , write a script for
this how to findout the number of "A" in the string ?
Answer Posted / ravi
str="POWER STAR PAVAN"
len1=len(str)
msgbox len1
str=replace(str,"A", "")
len2=len(str)
msgbox len2
a=len1-len2
msgbox a
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
can any body give the banking domain concepts/links
Mention the test steps of qtp.
Where we can use the synchronization?
What does mean by Scope of Automation?n How we defined it?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
Can launch two instances of qtp on the same machine?
How to create runtime property for an object?
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
Whats the realtime QTP testing process
Which features or drawbacks of QTP lead to the upgrade for a newer version?
Is it possible to switch between recording modes during a test creation?
Where you are storing your script?
descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?
Difference between action & Reusable action?