Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How will you format a number in percetage format in vbscript?

1004


please can you help me to get a code of flames using a visual basic 6

1795


How many types of procedures are available in the vbscript language?

1009


what is used of Property........End Property loop ? how to write the script for it?

2261


Explain the support of asp for vb script functionality?

1085


What are the special sub-types in vbscript?

1064


Explain the functionality of vbscript?

952


Which operator can be used to do an xor operation in vbscript?

1265


How will you get a combined string from array of string in vbscript?

966


Explain about the functionality of vb script?

990


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

992


What is the use of option explicit statement?

992


What is the difference between javascript and vbscript?

1181


How will you get the octal value of the given number in vbscript?

966


Mention the environments where vbscript could be run?

1257