How to return only alpha bate string from an string str =
"bibhu@#$%&das&*)(SUndar"
Answer Posted / pankaja yathindrakumar
'How to return only alphabate string from an string str = "bibhu@#$%&das&*)(SUndar"
str="bibhu@#$%&das&*)(SUndar"
for i=1 to len(str)
x=mid(str,i,1)
if Asc(x)>=Asc("A") And Asc(x)<=Asc("z") then
t=t&x
End If
Next
Msgbox t
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How will you compare two strings in vbscript?
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
What are the uses of vb script?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
Explain about the extension .hta?
what is the use of QCUtil? explain with one example?
Mention when to use function procedures and what are its characteristics?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
Can anyone send me a vb script function for verifying the functionality of active links on a web page
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
Mention what is vbscript?
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
Mention how to access array data?
Explain about scrrun.dll?