String processing function set | recommended code