We currently have a site that we would like to dynamically pull in the page title. We had been using a URL parameter and %1 for the title, except fields that had spaces are being replaced with dashes. When this happens the view does not pull the correct data. We would like to use a field within our view to set the page title since we have not been able to remove the dashes. Being new to Drupal there may be a simpler solution but we are struggling to find what that solution may be.

Example:

Field value: 'My Page Title'
The URL Parameter changes this to: 'My-Page-Title'
The view will not select items with the field value of 'My Page Title'.
I changed the field value to 'My-Page-Title'.
This yields an ugly page title of 'My-Page-Title' with the dashes.
So, is there a way of stripping the dashes or setting the page title with a field value?

We've tried setting the view title to [page_title] where [page_title] would equal 'My Page Title' but no luck.

We could really use some insight here.

Thanks.