Put in strings and get unique characters according to input base.
Put in strings and get unique characters according to input base.