add stringService with function format.