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
Which function is used to perform string comparison?
how to acces the remote mechine using vb cript(QTP)
How to open excel in vb script?
Is VB Script Case sensitive or Case insensitive?
What are keywords in the vbscript language?
Which in-built function is used to format the number in the vbscript language?
How do i automate a website www.flyashx.com without having any test cases witin a week time.
Explain about arrays in vb script?
How can you create a file object to work with the files in the vbscript language?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
Explain few date functions in vbscript?
What purpose does ‘on error resume next’ serves?
How to assign a date value to a variable?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
How to create a function in vbscript?