How to remove the last line-feed char in a string variable.
There’s been a discussion in the NI forum. Original post can be accessed with this link:
Remove the last Line-Feed character at the end of Array to Spreadsheet String.vi
To summary the post, the suggested way to get rid of the ending line-feed char is using regular expression to filter the string. The referred regular expression is [\r\n]*$. This means a CRLF char (which is used as new-line symbol in Windows) at the end of a line. Use the Regular Expression block to filter out this char.