```python
def replace_blank(str1,char):
  """
  Replaces blank spaces with a specified character in a string.
  """
  return str1.replace(' ', char)
```