How do I insert a space into a string?


If I have a string with this data

Jakobsen31 Curth45

How do I insert a space between the names and numbers so the string becomes:

Jakobsen 31 Curth 45


Please clarify your request a little.
What language? On a website or on a local machine? In a database?

echo preg_replace('#\\d+#', ' $0', 'Jakobsen31 Curth45');

Perfect - thanks very much

Color me STUPID. I found this post as an “Unanswered Thread” but never bothered to check in which Fora it resides.
PHP. Duh.