Howdy, I’m using slug() to strip a value of capitals and replace spaces with dashes. Is there a helper function that would reverse that? I guess it would title case and add space. I can imagine how to do it with native PHP but wanted to know if there was a helper function. Thanks.
No, there is no unslug()
method, and if you cannot rely on a particular pattern, you cannot really recreate a sluggified string, anyway.
Makes sense. Thanks