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

Mention the rules for using option explicit statement?

983


who will create the object?

2191


What is the use of option explicit in vbscript?

983


What is dictionary object in vbscript? Explain?

1168


Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

3454


What is the technology used by vb script?

955


Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)

3661


How to Convert Hex color code to color name in VB Script?

4403


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

1959


How to access array data?

995


Which operator can be used to change the value of the operand or change the state of the condition?

1025


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

947


What are the environments supported by vbscript language?

917


What are keywords in the vbscript language?

1025


In what way program "hello world" you can write in vbscript?

1122