Fixed Issue #1241 (_scanString uppercase format specifiers)

Fixed Issue #1241: _scanString not supporting upper case format specifiers A, E, F, G, X.