Go Back   MarcomCentral (PTI) and FusionPro User Communities > Search Forums

Notices

Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: thomas.cronqvist
Forum: Formatting Text September 30th, 2015, 02:33 AM
Replies: 8
Views: 18,226
Posted By thomas.cronqvist
Re: Nobreak function and Ampersand problem

@step, the code below did the trick - ampersands shows correctly in DSF!:)

function NoBreak(s)
{
return s.replace(/&/g,'&').replace(/ /g, " ");
}
return...
Forum: Formatting Text September 29th, 2015, 02:51 PM
Replies: 8
Views: 18,226
Posted By thomas.cronqvist
Re: Nobreak function and Ampersand problem

Thanks for your replies.. @Dan, your suggestion has exactly the same result - the "&" input composes to &

function NoBreak(s)
{
return s.replace(/ /g, " ").replace(/ /g, " ");
}...
Forum: Formatting Text September 29th, 2015, 12:57 PM
Replies: 8
Views: 18,226
Posted By thomas.cronqvist
Nobreak function and Ampersand problem

Hi,

I have a problem with a piece of code on a business card in DSF/FP9.3. We need to keep a string on one line without wrapping and use the function below. Works fine unless there is a "&" in the...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -7. The time now is 10:02 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.