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
What are the data types supported by vbscript?
What is select case statement?
Explain about .wsf files?
Explain the constants in vbscript?
How should i Create Email invite with server-side Coding?
What is the use of the date function in the vbscript language?
What are the differences between sub procedures and function procedures?
Hello Friends , I am the new joinner of this website. I am working with Sapient ,Gurgoan I would like to ask few qurries regarding the QTP Tool of (Testing) Currently working on QTP Tool . I would like to no learn VB Script can u name some Books which i get in market. And a small issue in QTP I had 2 users right i have to login and send the document from this user to second user right. when i am send this doc some contendId number generates right. now i am loging into second user and i have to search for that contentId right i found it now i dont want to accept the document so i had an opption of check out ok i have to click on check out my QTP Code is like this Browser(" ").Page(" ").WebTable(" ").ChildItem (3,5,"Image",0).click Browser(" ").Page(" ").Link("ChecK Out").Click i new this code is perfectly right but when i am run the script i have to click on that particular contentId and click on check out but now the Problem is started the error is the document has been already checked out remeber every time my content id changes means it is the new contentId which is not been used atleast once Please help me out in this issue i am in big trouble
Which keyword is used to declare a variable in the vbscript language?
Why is error handling required?
Is vbscript a case-sensitive or case-insensitive?
What are the advantages of vbscript?
How to delete a cookie using vbscript?
give me any information abou vb script books learn quckly
What are keywords in the vbscript language?