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
Mention how to assign a date value to a variable?
Which keyword is used to declare a variable in the vbscript language?
How to Import data from a file (file is on the desktop) to the data table
How to access array data?
What are class variables?
Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..
what is diff between static and dynaic arrys?
How will you convert a string to lower case string using vbscript?
Explain about the asc function?
What is variant in vb script?
Mention what if you do not specify anything when you call a procedure?
Explain about tristate constants?
Mention what is select case statement?
Explain sga memory structures?
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar