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: 

trim whitespaces

Hello,

 

I am stuck with a problem in below attached vi. In the output array white spaces are not trim by Trim Whitespace.vi.

 

Please anybody can help me how to trim white spaces?

 

Thanks

0 Kudos
Message 1 of 3
(2,970 Views)

The trim whitespace will remove tabs CR LF and spaces. It looks like your typecast strings have 3 nulls (\00\00\00) before them.

 

 

Stephen C
Applications Engineer
0 Kudos
Message 2 of 3
(2,963 Views)

You have null characters in your string, not whitespace.

 

convertintoalphabt[1].png

 

[edit] I lost the race. [/edit]

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 3 of 3
(2,962 Views)