Nothing I'm about to say has anything to do with PMF really. It's a general WebFOCUS dev question.
Extra spaces in HTML are truncated by browsers. The only way around this is to use the value
'&|nbsp;'
This is not an amper var. It is an "entity reference" to a non-breaking space. The problem is it takes up 5 characters and if it's used in FOCUS, the FOCUS parser will think it's an amper var, and so will throw an error. So any technique to preserve more than one space between text elements in labels to be processed by FOCUS and preserved in final HTML is pretty horrible to contemplate. But you can do things like setting a text var:
-SET &NBSP = '&|nbsp;'
And you'll end up with the proper value which you can then use:
-SET &MYTHING = 'This'|&NBSP|&NBSP|&NBSP|'has'|&NBSP|&NBSP|&NBSP|'three'|&NBSP|&NBSP|&NBSP|'spaces'|&NBSP|&NBSP|&NBSP|'between' ;
My question is what are you using the spaces for? If it is to spread the title across a column to make something line up, that won't work anyway because fonts are rendered proportionally in browsers, a space doesn't take up the same amount of width as period and a a lower-case w doesn't take up the same amount of width as a lower-case i. So tell us WHY you're trying to do this. We'll practice the 5 whys here.
I'm trying to have multiple spaces show up in a browser for an AS name
Why?
Because[more purposeful reason]
==repeat until root requirement is revealed.==
Bob Jude Ferrante
Director of Business and Development
WebFOCUS Performance Management
Bob_Ferrante@ibi.com
917-339-5105
I'll take any questions about PMF - business or technical - anytime!