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 String
Dim SB As StringBuilder
SB.Initialize
For i = 0 To Count - 1
SB.Append(Str)
Next
Return SB.ToString
End Sub
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.