Slightly modified version of one I posted on a forum a while back. Performs an strtoupper operation.