add map example to toUpper
Merge pull request #2805 from WalterBright/toupper-ex

add map example to toUpper