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


Please Help Members By Posting Answers For Below Questions

How to replace junk code recorded by QTP with a mall function.

1636


What is the difference between do until loop and do while loop?

530


what is diff between static and dynaic arrys?

1577


A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.

1500


For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com

1743






How will you get a string with the specified character the specified number of times in vbscript?

565


What are the 2 ways in which a variable can be declared in the vbscript language?

554


who will create the object?

1710


What is the difference between javascript and vbscript?

528


where can i learn VB scripint ?

1584


Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.

2543


when we use filter funtiom invb script(QTP)

2292


How to write VB script for login module?

2668


What is difference between vbscript and vba?

598


Which command is used for writing text on a page?

569