Skip to content

Instantly share code, notes, and snippets.

@SteveGilham
Created April 20, 2015 20:07
function PascalSplit {
$args | ForEach-Object {
if ($_ -is [array]) {
$_ | ForEach-Object { PascalSplit $_ }
} else {
($_.ToString() -creplace '[A-Z]', ' $&').Trim().Split($null)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment