Solve the programming task below in a Python markdown code block.
Create a function that takes 2 positive integers in form of a string as an input, and outputs the sum (also as a string):

If either input is an empty string, consider it as zero.
Also feel free to reuse/extend the following starter code:
```python
def sum_str(a, b):
```