i want to get first character of original string from hashe sha512. The format of my original string is it have 32 characters. first character in set of { 1, 2, 3, 4...9, T,J,Q,K } the second character in set of { D, S, H, C } the third character is "-" and last characters in set of { a to z, A to Z, 0 to 9 } i want input is "e9353e5aa1dedb3eb4767da8d21b81d7dbf10fa8f23e4704084c989edf5293a46f41f8b3c77c6f828ccf1f688585a52fe0b0601b0c2485af656579bb9b5cd48f" this is hashed string of "1S-74iaoSurg6nVxMzkqwVQMcmWvzmpP"
i want output is "1"
I will be grateful if somebody help me out in this. Thanks