It doesn't appear to be available as a utility in java.
Try this:
B4X:
Public Sub StrRepeat(Str As String, Count As Int) As StringDim SB As StringBuilder
SB.Initialize
For i = 0To Count - 1
SB.Append(Str)
NextReturn SB.ToString
EndSub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.