| Follow @mactsouk
Greece
Mihalis Tsoukalos is a Technical author, a UNIX Administrator and Developer, a DBA and a Mathematician. He is the author of Go Systems Programming and Mastering Go. You can reach him at http://www.mtsoukalos.eu/ and https://twitter.com/mactsouk.
Authored Comments
Thanks for you comment - I am happy that you liked my article.
Hello!
Yes, startChar[0] points to the character "!", which is the first printable character in the ASCII table.
What kind of special character you want to include? The ASCII table contains non-printable characters, which will most likely not work in a password.
If you want to limit to numbers only, the MIN will still be 0 but the MAX should be 11. However, you will need to change the value of the startChar variable to "0".