Thanks for the responses, this indeed works well.
Small change to allow 0 as an input:
Code: Select all
Replic(T, N) {
Return N=0 ? "" : StrReplace(Format("{:0" N "}",0),0,T)
}
Code: Select all
Replic(T, N) {
Return N=0 ? "" : StrReplace(Format("{:0" N "}",0),0,T)
}
Code: Select all
MyGui.AddText("w100 h2 BackgroundBlack")
Thanks!mikeyww wrote: ↑28 Nov 2023, 05:24Hello,
The forum page has a search form in the top right corner. Perhaps the following page helps.
viewtopic.php?f=83&t=96117