How to return only alpha bate string from an string str =
"bibhu@#$%&das&*)(SUndar"
Answer Posted / usha
str="bibhu@#$%&das&*)(SUndar"
Set r = new regexp
r.pattern="[A-Z]"
r.global=true
r.ignorecase=true
Set a =r.execute(str)
msgbox a.count
For each t in a
msgbox t
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Out of the different type of operators, which are evaluated first and last in the vbscript language?
What are the properties of regexp object?
did any one attended interview in applabs if you had gone through plz tell me the procedure
How many types of procedures are available in the vbscript language?
Explain the filter expression?
how to operate webobjects in a webpage using getobject function and then using generic methods?
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
Mention how to access array data?
How to make sure that items in a wintree are sorted al?
Mention what is the technology used by vb script?
How can you create an object in vbscript?
Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
What are the 2 ways to pass a value to the function?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans