Go Back   MarcomCentral (PTI) and FusionPro User Communities > Support > Fonts

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old July 21st, 2015, 03:46 PM
tbender tbender is offline
Forum n00b
 
Join Date: Jul 2015
Posts: 6
Default Re: Need help with replacing spacing

Ok, this is doing what I need 99%. The tracking tag is adding space between the L and period, but also after the period as well. Is there a way around this?
Reply With Quote
  #12  
Old July 21st, 2015, 04:05 PM
David Miller David Miller is offline
Senior Contributor
 
Join Date: Oct 2008
Location: Wallingford, CT
Posts: 263
Default Re: Need help with replacing spacing

Quote:
Originally Posted by tbender View Post
Ok, this is doing what I need 99%. The tracking tag is adding space between the L and period, but also after the period as well. Is there a way around this?
If tracking is affected after the period, try closing the tracking tag before the period.

Code:
var text = TaggedTextFromRaw(Field("Your Field Name"));
text = ReplaceSubstring(text, "L.", "<tracking newsize=20>L</tracking>.");
text = ReplaceSubstring(text, "E.", "<tracking newsize=20>E</tracking>.");
return text;
__________________
David Miller
FusionPro VDP Creator 10.0.26
Adobe Acrobat Pro 2019.008.20074
Suitcase Fusion 20.0.0 (7653)
macOS High Sierra 10.13.6

Last edited by David Miller; July 21st, 2015 at 04:10 PM..
Reply With Quote
  #13  
Old July 22nd, 2015, 07:09 AM
tbender tbender is offline
Forum n00b
 
Join Date: Jul 2015
Posts: 6
Default Re: Need help with replacing spacing

This works perfectly, thank you all for the help!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:49 PM.


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