Last active
October 29, 2015 13:15
-
-
Save torgro/66946447f6e92d0c89aa to your computer and use it in GitHub Desktop.
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
$charString = "" | |
foreach($char in "youremail@her.com".ToCharArray()) | |
{ | |
if(([int]$char - 46) -eq 0) | |
{ | |
$charString += " 0" | |
} | |
else | |
{ | |
$charString += "$(([int]$char - 46))" | |
} | |
} | |
$charString |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment