Hi. I need some help to encode a string. I would like to replace all the upper case characters in the string with '1' and all the lower case characters with '0'.
So if my string is : "HELPweekEND", It should be converted to "11110000111"
I know the existence of the replace function but not getting any function to c