Convert a string from one base of characters to another.