What Holger said works.

If you don’t see the newlines, that means you are in an environment that 
doesn’t display newlines.

For example, in TBC's SPARQL view, multi-line strings are shown as a single 
line because the results are shown in a table widget where each row has a fixed 
single-line height. But that’s just the display.

Here’s another version that does the same thing as Holger’s and might be a bit 
easier to believe :-)

    BIND (spif:replaceAll("A,B,C", ",", """
""") AS ?result)

If you include a string in triple-quotes, then the string may include newlines, 
and they don’t need to be escaped as \n. So that’s a different way of writing 
the newline character. TBC still will show the result as a single line though.

Richard

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to