added support of space as a separator for prefix and suffix