add code for learn method chomp, chr, clear, codepoints for object string