Quantcast
Channel: How do I create a string with repeating characters?
Browsing latest articles
Browse All 6 View Live

How do I create a string with repeating characters?

Since '*' is already a string, an alternative I find sticking with the methods the type  offers somewhat  better to follow. So you could use:"*".PadRight(25, "*")of course you could also use PadLeft.

View Article


How do I create a string with repeating characters?

It is interesting to compare these uses of"*" * 35 PS C:> "*" * 35***********************************PS C:> 35 * "*"The '*' operator failed: Cannot convert value "*" to type "System.Int32". ......

View Article


How do I create a string with repeating characters?

It is interesting to compare these uses of"*" * 35 PS C:> "*" * 35***********************************PS C:> 35 * "*"The '*' operator failed: Cannot convert value "*" to type "System.Int32". ......

View Article

How do I create a string with repeating characters?

Great!  Thanks Sam.

View Article

How do I create a string with repeating characters?

$str = "*" * 35:)Sam Hays

View Article


How do I create a string with repeating characters?

Is there a function to create a string with repeated characters in Powershell? I am looking for something like,$string = repeat-char("*",35)Thanks.

View Article
Browsing latest articles
Browse All 6 View Live


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