|There's more than one way to do things|
Insert Space between namesby steelrose (Scribe)
|on Nov 21, 2005 at 01:36 UTC||Need Help??|
steelrose has asked for the
wisdom of the Perl Monks concerning the following question:
A simple one, I'm sure it's just my brain is fried at the moment.
I have a string, which will always contain a name in the format "JohnDoe", and I want to put a space between the names so it appears "John Doe".
thought I could do it simply by using a reg ex, but it appears to require a little more work than that.
Can a fellow monk help move me in the correct direction? Thanks.
If you give a man a fish he will eat for a day.
If you teach a man to fish he will buy an ugly hat.
If you talk about fish to a starving man, you're a consultant.