Quantcast
Channel: How do I create a string with repeating characters?
Viewing all articles
Browse latest Browse all 6

How do I create a string with repeating characters?

$
0
0

Is there a function to create a string with repeated characters in Powershell? I am looking for something like,

$string = repeat-char("*",35)

Thanks.


Viewing all articles
Browse latest Browse all 6

Trending Articles



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