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...

if there is any string in a given format like as "company
name employeecode date" then we have to fetch employeecode
form string
for ex-string is "capgemini12345june2013" then we have to
fetch 12345 by using vb script so guys how can we do that
please reply it.

Answer Posted / sriraja

str="capgemini12345june2016"
strsplit=split(str,"june")
convstr=cstr(strsplit(0))
for i=1 to len(convstr)
strmid=mid(convstr,i,1)
if isnumeric(strmid)=true Then
temp=temp&strmid
End if
Next
Print temp

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?

1072


How can you create a file object to work with the files in the vbscript language?

995


Explain about scrrun.dll in vbscript?

1135


Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?

1011


In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?

2524


Can automation testing find ssame no. of bugs what we can find by manual testing?

2025


Mention how to access array data?

1082


Explain How do you create a recordset object in vbscript?

1068


What is the difference between function and procedure?

1311


What is the purpose of regexp object in vbscript?

1081


What is purpose of scripting.filesystemobject class in vbscript?

1176


Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?

1098


Can u describe what kind of testing are for OTC derivates by banks.

2194


Description.Create

2692


How to create a function in vbscript?

1311