I am seeking the method to construct a string from a repeat of a char
n times
something like
String s = repeatChar("*", 8); \\ will return a
string = "********"
Is there such a method?
Thanks
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---