You may want to have a look on this thread explaining the use of the string method trim() to cleanup trailing (and leading) characteres from a string.
Andrei
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| I need a sanity check | 2 | 333 | 28 June 2020 | |
| Parse 8 bit value from string | 6 | 682 | 15 December 2021 | |
| Unable to remove return carriage from msg | 2 | 783 | 28 May 2021 | |
| Message payload - String? | 10 | 6950 | 11 May 2020 | |
| Extracting data from msg.payload | 8 | 1689 | 9 May 2019 |