Created
November 12, 2018 21:21
-
-
Save shaneis/807b73d6016dcd55c1f7fe460cacf365 to your computer and use it in GitHub Desktop.
Using substring to split string: example: basic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$String = 'SQL Server' | |
0..($String.Length - 1) | ForEach-Object -Process { | |
$String.Substring($_, 1) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment