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


Please Help Members By Posting Answers For Below Questions

Explain sga memory structures?

566


did any one attended interview in applabs if you had gone through plz tell me the procedure

1843


after medical test,when will be the police verification

1703


In what way program "hello world" you can write in vbscript?

626


Explain the constants in vbscript?

555






what is resorceallocation

1765


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.

1731


What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?

478


where can i learn VB scripint ?

1584


What's the difference between vbscript and vb.net?

543


What is the difference between javascript and vbscript?

528


How regexp.execute method works?

580


What are lbound and ubound in the vbscript language?

593


Description.Create

2154


Which command is used for writing text on a page?

569