/* * chap 02 * ------------------------------------------------- */ create or replace function wordcount(str in varchar2) return pls_integer as words pls_integer :; ); inside_a_word boolean; begin .. loop )) or i > len then if inside_a_word then word