one more functional example passed for string calculator