Count the spaces between two given strings

count_space(mychar, sep)

Arguments

mychar

The character to check.

sep

character for separation.

Value

character as title with '#' inserted.