TRIM command trims more than spaces

BlitzPlus Forums/BlitzPlus Programming/TRIM command trims more than spaces

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Shouldn't be hard to make your own TRIM function which leaves <32 in peace..
Which is what I'll do. I was just asking for everyone elses opinion on whether or not it should be that way.

but what do you need all that for anyway?
Because Chr$(34) ("") double quote characters can't be included in data statements, so I'm replacing them with Chr$(2) and Chr$(3) (which just show up as 'blocks' in the data statements) and then later replacing 2 and 3 with Chr$(34) (well actually 147 and 148).

I'm pretty sure the original (B2D) docs used the term 'white space', which is more correct.
But control characters aren't 'white space'...