Non-breaking hypen in a variable?

This forum is for all Flare related Tips and Tricks.
Have a tip or trick you use while working in Flare? Share it here.
Post Reply
JeromeR
Propeller Head
Posts: 64
Joined: Fri Mar 20, 2009 2:15 pm
Contact:

Non-breaking hypen in a variable?

Post by JeromeR »

How do I get a non-breaking hypen in a variable?
Paulie
Sr. Propeller Head
Posts: 140
Joined: Sun Mar 01, 2015 3:01 pm

Re: Non-breaking hypen in a variable?

Post by Paulie »

Hi there,

You could try adding the code for a non-breaking hyphen into the variable manually and see if that fixes your issue. To do this:
  1. Right click on the variable set and select Open With Internal Text Editor.
  2. Replace the existing hyphens with
  3. Save your changes.
  4. Build your output and test.
Example:

Code: Select all

<Variable Comment="" Name="PhoneNumber">858‑123‑4567</Variable>
"In an ideal world, software should be simple, well designed, and completely intuitive to end users. In the real world, good documentation is king."
Telecaster52
Propeller Head
Posts: 32
Joined: Tue Dec 01, 2020 2:22 pm

Re: Non-breaking hypen in a variable?

Post by Telecaster52 »

Paulie wrote:Hi there,

You could try adding the code for a non-breaking hyphen into the variable manually and see if that fixes your issue. To do this:
  1. Right click on the variable set and select Open With Internal Text Editor.
  2. Replace the existing hyphens with
  3. Save your changes.
  4. Build your output and test.
Example:

Code: Select all

<Variable Comment="" Name="PhoneNumber">858‑123‑4567</Variable>
Right click on the variable in the variables folder, and select "open with..." then select "Internal Text Editor". Thank you!
Post Reply