can anybody tell vb script code for alphanumeric and special
character .which is used in qtp the name text field.



can anybody tell vb script code for alphanumeric and special character .which is used in qtp the na..

Answer / pravati

x="pravati.001@gmail@.com"
For i = 1 To len(x)
y=mid(x,i,1)
If isnumeric(y) Then
z=z&y
elseif asc(y)>=97 and asc(y)<=122 then
a=a&y
End If
Next
msgbox z
msgbox a

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

How to assign a date value to a variable?

0 Answers  


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

0 Answers   Synechron,


If anyone knows abt Test Complete material, Pls let me Know. if u have any material or any documents..... Pls mail me on this mail Id...... This is very Urgent Requirment..... for my Project.....

3 Answers  


Which operator is used to perform the comparison among 2 operands in the vbscript language?

0 Answers  


write a vb script to display factorial of a number using function

1 Answers  


What is the difference between vb debugger and the script debugger?

0 Answers  


give me an ex. of unoverloaded method?

2 Answers   Misys,


What is the differene between QTP 8.2 and QTP 9.0 and QTP 9.1,Pls give me answer ASAP.

3 Answers   Accenture,


Explain the tristate constants in vbscript?

0 Answers  


Which operator can be used to check if two numbers are equal or not in vbscript?

0 Answers  


Compare java script and vb script?

0 Answers  


write a vb script to generate fibonnaci numbers

1 Answers  


Categories