Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Function to generate a String with n times the same characters

$
0
0
Hello,

So far, I couldn't find such a function :

StringDup("x", 10) returns "xxxxxxxxxx"
StringDup("abc", 2) returns "abcabc"

Does it even exist ?

I have tried to build one with StringRegExpReplace, but couldn't find the correct regexp :

StringRegExpReplace($string, $string, "<insert regexp here>")

Thank you for your help ! :bye:

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>