string to upper case

No locale is used. Strictly English conversion

Download touppercase.zip

Synopsis:

touppercase.py


touppercase.py

Synopsis
def toUpperCase(s):
   return s.upper()

#-- unit tests
def test_touppercase():
   ut.utassert(toUpperCase("AbCd"), "ABCD");






Contact me about content on this page using john_web-at-arrizza-dot-com
For Web Master or site problems contact: webadmin-at-arrizza-dot-com
Copyright John Arrizza (c) 2001,2002,2003,2004,2005,2006,2007