BR Dynamic data

I Am using dynamic data to pull in page title but I would like to add a break @ space.

For example the page title is Joe Blow

I want to display it as
Jow
Blow

not Joe Blow

use {echo:}
see Dynamic Data – Bricks Academy

Well, I’m no coder, but this is answered by ChatGPT:

// JavaScript code to replace spaces with <br> tags
const field = document.getElementById('my-field');
const text = field.innerHTML.replace(/\s+/g, '<br>');
field.innerHTML = text;

if that make any sense… :wink: