Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

What are Soft Hyphens, how are they used,  and  and how can Loftware make use of Soft Hyphens?

Explanation

Soft Hyphens are hyphens available through the Character Map utility (charmap.exe) that do not print.  They can be added to data using Keystroke Alt-0173.  You will notice that the cursor does not move, but if you were to backspace through that location you would notice that an extra backspace key stroke is needed to remove the Soft Hyphen.

They are used in data where legitimate line breaks can be inserted in long strings of characters. For example;  long chemical names like ribulosebisphosphatecarboxylaseoxygenase.

Imagine if the above 40-character word needed to be printed in an area that only accommodated 25 characters per line. The output from paragraph would be:

Code Block
ribulosebisphosphatecarbo
xylaseoxygenase

The break at this point is not permitted so the data is formatted with Soft Hyphens to indicate appropriate break locations without changing how the data prints.

The following example shows how the data would look if the Soft Hyphens were replaced by standard Hyphens.

Code Block
ribulose-bisphosphate-carboxylase-oxygenase

You can use a field level script routine to search for the Soft Hyphens using the Soft Hyphen hex value "\u00AD". 

The script can then count the number of characters and break the lines out at the appropriate location changing the output to:

Code Block
ribulosebisphosphate
carboxylaseoxygenase

Note:  The full script is not included here due to the complexity of the script and focus of this article.

Content by Label
max5
spacesLPSKB
labelssoft-hyphens,line-breaks,characters,breaks

 

 

Article Number

 2014010

Versions

LLM/LPSVersion 9.5 an above

Environment

All supported installation environments.

Page properties
hiddentrue

This table provides article information that is only visible to Loftware users.

Linked Jira 
JIRA
serverJira
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverIdb694bd2b-f495-3baf-a460-a9c93a1d1de3
keyOOB-360
Author 
Incident/Case Number 
Review Date