RTRIM
INSTR
SUBSTR
LENGTH
1 SELECT RPAD(UPPER(FIRSTNAME||' '||LASTNAME),25,'-+'), 2 LOWER(CITY,INSTR(STATE,'H')), 3 LPAD(INITCAP(STATE),LENGTH(CITY)) 4 FROM CUSTOMER 5 WHERE SOUNDEX(LASTNAME) = SOUNDEX('Jonston')