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
Explain about scrrun.dll?
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
Illustrate briefly about the different types of statement
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
What is purpose of scripting.filesystemobject class in vbscript?
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
Explain a few date functions in vbscript
Explain about tristate constants?
Mention what is the difference between vbscript and vba?
How will you get a random number between 0 and 1 in vbscript?
How will you get a string with the specified character the specified number of times in vbscript?
Which function is used to perform string comparison?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
did any one attended interview in applabs if you had gone through plz tell me the procedure
How can constants be declared in the vbscript language?