Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using substring to split string: example: basic
$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