Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Add Char to string based on number.

$
0
0

I’m not sure what output you’re expecting to see, Rob. “This is a test” is longer than 10 characters, so the PadLeft method will just return the original string. If you increased the first argument to something longer than the string, it would start adding “A” characters.


Viewing all articles
Browse latest Browse all 13067

Trending Articles