Do lowercase without string library.