How to return only alpha bate string from an string str =
"bibhu@#$%&das&*)(SUndar"
Answer Posted / indrani
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
s1=s1+t
Next
msgbox s1
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of vbscript?
How can you destroy an object in vbscript?
Explain about arrays in vb script?
What is vbscript?
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
Explain different types of segment?
What are the environments supported by vbscript language?
Description.Create
Explain the scope of the variables using dim, public, and private keywords respectively.
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
about vb scripting programs this type of all question& answers
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
Mention what are the rules to name variable in vbscript?
What is the difference between a dictionary and an array?
How will you format a number in percetage format in vbscript?