can anybody tell vb script code for alphanumeric and special
character .which is used in qtp the name text field.
Answer Posted / 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 View All Answers
Differentiate javascript and vbscript?
How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz
Explain the functionality of vbscript?
Mention what is the main difference between function and sub-procedure?
what is the object hyrarchy in QTP for a web based application
How to open a file. What is the perpose of true and false mode there?
Explain the extension .hta?
What is the scope of a constant declared using public?
When to use function procedures and what are its characteristics?
Explain the .wsf files?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
How to pass argument by reference to a function in vbscript?
How can the spaces from the string be removed?
How to write functions and sub in vb script?
How will you get the largest subscript of an array in vbscript?