ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

format into string bug

Backslash is a special character used to add functionalities to the string formatting (and searching), so must be treated with care. You are responsible to specify exaclty what you want to do.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 11 of 13
(753 Views)

String Editor is what pop up once I click "Edit Fromat String". Sorry for misunderstanding.

 

As I said before, when I use the "Edit format string" tool and do the following:

1. Output exact string <\

2. Format string %s

3. Output exact string >

 

It results in output exact string <\%s>. This is definitely not the expected behavior of this tool.

 

 EDIT: If you use "output exact string" to output a percent character, it does type it twice, so why not the backslash?

0 Kudos
Message 12 of 13
(750 Views)

I see. I never used this tool. I agree that it doesn't handle properly the backslash character.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 13 of 13
(742 Views)