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

Input = 124

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

Answer Posted / pankaja yathindrakumar

'Input = 124 output should be 124421 Please do not use any string functions/variables
str="124"
Set r=New RegExp
r.pattern="."
r.Global=True
Set c= r.Execute(str)
For each key in c
t=key&t
Next
Msgbox str&t

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which constant is used for print and display functions and works as same as pressing enter key?

1043


How to Import data from a file (file is on the desktop) to the data table

2126


What is the use of the instr function?

1101


How are values assigned to string type and numeric type variables?

1063


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

2194


Explain about the functionality of vb script?

1032


What is the difference between a dictionary and an array?

1116


after medical test,when will be the police verification

2223


What are the 2 ways to pass a value to the function?

1008


Illustrate briefly about the different types of statement

2550


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

1008


about vb scripting programs this type of all question& answers

2175


How can the spaces from the string be removed?

1053


what is the object hyrarchy in QTP for a web based application

2458


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1427