str = 'c'; var UPPER = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; var LOWER = 'abcdefghijklmnopqrstuvwxyz'; var result = []; for(var x=0; x