display a string X times?
I'm being asked to represent an integer score value in asterisks
instead of just as a digit. I figured (as a newbie) I could just define
a string 'star' (as "*") and just call it like score * star..
apparently not. How can I do this? My other idea is using a while loop,
but I think this could be a bit unwieldy, for the scale of the program
it's for.
Matt
.
Relevant Pages
- Re: display a string X times?
... > I'm being asked to represent an integer score value in asterisks ... > instead of just as a digit. ... (comp.lang.java.help) - Re: display a string X times?
... instead of just as a digit. ... I figured (as a newbie) I could just define ... As there are only 10 different scores, you could cache them in an array so you don't create a new String object every time. ... (comp.lang.java.help) - Re: display a string X times?
... instead of just as a digit. ... I figured (as a newbie) I could just define ... My other idea is using a while loop, but I think this could be a bit unwieldy, for the scale of the program it's for. ... Carl. ... (comp.lang.java.help) - RE: Replacing special characters in Excel 2007
... "Jeff" wrote: ... all non-zero three digit values. ... matches for three asterisks? ... (microsoft.public.excel.worksheet.functions) - Select CASE
... I'm a newbie trying to learn. ... then give me a digit of zero else give me my ... LpClients ON FDetail.PshipID = LpClients.PshipID AND ... (microsoft.public.sqlserver.programming) |
|