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 | 3 | 330 | 12 July 2020 | |
| Parse 8 bit value from string | 7 | 681 | 29 December 2021 | |
| Unable to remove return carriage from msg | 3 | 781 | 28 May 2021 | |
| Message payload - String? | 11 | 6941 | 10 July 2020 | |
| Extracting data from msg.payload | 8 | 1683 | 9 May 2019 |