06-26-2023, 05:21 AM
@Mike
Might be a good idea to strip out all characters below a space from the start of the name - this would also remove your NUL characters i.e. no special test for NUL required.
Being defensive, you might also want to strip any at the end of the line or possibly any within the line!
You could also probably strip leading/trailing spaces in the song name (but I use leading spaces in Setlist names so please don't reuse the code to strip them there)
Cheers
Geoff
Might be a good idea to strip out all characters below a space from the start of the name - this would also remove your NUL characters i.e. no special test for NUL required.
Being defensive, you might also want to strip any at the end of the line or possibly any within the line!
You could also probably strip leading/trailing spaces in the song name (but I use leading spaces in Setlist names so please don't reuse the code to strip them there)
Cheers
Geoff
Samsung Galaxy Tab A6