Hi,

Usage: $reptext(string,char)

Code:

alias reptext var %a | .echo -q $regsub($$1,/\S/g,$$2,%a) | return %a

This works in all cases except if the char is a \
There's a small work around possible for that, but imo it's not worth it.

Greets

Last edited by FiberOPtics; 15/08/04 03:45 PM.

Gone.