add string-find and string-replace function