from Word Break to substr function note