Escape Characters in LabVIEW

Updated Oct 22, 2023

Reported In


  • LabVIEW

Issue Details

How do I use escape characters in LabVIEW when formatting a number or a string?


You can use backslashes when formatting strings. For example, when using the Format Into String function, if you wanted to use a '%' sign in your formatted string, you can escape that '%' by using a backslash, as seen in the example below:
When formatting a number for display in a Numeric Control or Indicator, you can find a list of escaped characters in the Properties >> Display Format >> Advanced editing mode window. If, for example, you wanted to insert a '%' sign into your numeric display, you can format the display by selecting the appropriate character format, as seen in the example below: