View Single Post
  #4  
Old June 14th, 2018, 07:13 PM
step's Avatar
step step is offline
Senior Contributor
 
Join Date: Jan 2010
Location: Charlotte, NC
Posts: 955
Default Re: Trim all space's

I bet you're variable is actually returning a non-breaking space character ( ) rather than an actual space. Try this:
Code:
return RawTextFromTagged(Field("Partner Code")).replace(/\s/g, '');
__________________
Ste Pennell
FusionPro VDP Creator 9.3.15
Adobe Acrobat X 10.1.1
Mac OS X 10.12

LinkedIn
Reply With Quote