phlsys_string: refactor, move after_prefix()

Test Plan:
$ ./precommit.sh