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
How to assign a date value to a variable?
What is select case statement?
filter the array values without using filter function?
Explain the adodb.stream class?
What is vbscript procedures?
Explain the functionality of vbscript?
Does VB/Win make standalone .EXE files?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
Which operator can be used to do an xor operation in vbscript?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
Explain about arrays in vb script?
How to Import data from a file (file is on the desktop) to the data table
How to delete a cookie using vbscript?
Which date function is used in the vbscript language to find the difference between the 2 dates?
What are string functions in vbscript?