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

What are keywords in the vbscript language?

0 Answers  


How to write VB Script for selecting a particular row in a WebTable?

1 Answers   Patni,


In html file what is an ideal position to include vbscript?

0 Answers  


How can constants be declared in the vbscript language?

0 Answers  


who will create the object?

0 Answers   TCS,






how to add the shared repository file to the script file while running the script manuall

2 Answers  


Explain about scrrun.dll in vbscript?

0 Answers  


1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 how to find using vbscripting

3 Answers  


Input = 124 output should be 124421 Please do not use any string functions/variables

8 Answers   Cap Gemini,


what is fire event method in qtp?

3 Answers   TCS,


Out of the different type of operators, which are evaluated first and last in the vbscript language?

0 Answers  


What are string functions in vbscript?

0 Answers  


Categories