RTRIM
INSTR
SUBSTR
LENGTH
SUBSTR('I am Jack Horner.',1, INSTR('I am Jack Horner.','J')-1) || SUBSTR('He is Joe Sprat.', INSTR('He is Joe Sprat.','S'))
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')
LOWER