LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
FJR0

Format Into String like Formula Node

Status: New

Format Into String can become very complicated when you have multiple inputs. I think implementing it in a way similar to the Formula Node could make it much better.

Ideally,

  1. naming of the inputs should be allowed
  2. the input fields in the string should be color highlighted
  3. when hovering or clicking over any of the input or the format string fields, the matching ones should be highlighted in bold or with different background for example.

FJR0_0-1697721252785.png

As a side note, the Formula Node itself could also benefit from the same color and hover highlighting.

 

2 Comments
FJR0
Member

Maybe it is already evident, but Scan From String could also have the same format, with one input and multiple outputs.

Petru_Tarabuta
Active Participant

+1. I agree that the "Format Into String" function should be made easier to use.

 

C# has a feature known as "string interpolation" that makes it easy and natural to format strings. The formatted strings are very legible, as seen in the screenshot below (taken from this Microsoft webpage). This feature was added to C# in version 6.0, which was released in July 2015.

Petru_Tarabuta_0-1699997934097.png

 

It would be great if LabVIEW supported a similar string interpolation syntax.