I want to generate a string like 99999 or 00000 depending upon the number of zeros or nines.. that is if I say 9 then I need the string "9" as 999999999. if I say 4 zeros then i need to get a string 0000. Like my input to a function are number ( 0,1,2) which should be there in the string and number of times it needs to repeat..\
i want ot write this inside a script. I want 0 and 9 to repeat as many times as a variable which i specify. I mean if i say var=4; then i want two strings 0000 and 9999.