How to return only alpha bate string from an string str =
"bibhu@#$%&das&*)(SUndar"
Answer Posted / satishraja
str ="bibhu@#$%&das&*)(SUndar"
L=len(str)
For i=1 to l
x=left((right(str,l-i+1)),1)
If ASC(ucase(x))>=65 and ASC(ucase(x))<=90 then
Print x
End If
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are class variables?
What is the use of option explicit statement?
Differentiate javascript and vbscript?
How will you get a random number between 0 and 1 in vbscript?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
Which loop is used in case of arrays in the vbscript language?
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
What are the uses of vb script?
What is the main difference between function and sub-procedure?
i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me
Which event is triggered when mouse focus comes out of an element in the vbscript language?
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
Difference between dim,public and private variables in vb script?
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
What is the scope of a constant declared using public?