Home › Forums › General › Programming › Removing spaces from ASCII text › Reply To: Removing spaces from ASCII text
I might not be explaining this clearly but here’s vaguely how I would approach it:
Before placing HEX in the name field of a Save File Window, assign the value of each byte of HEX each to a unique variable. Check each variable starting from the last to see if it’s value is 20. If the last value in the sequence == 20, truncate it, then check the next and continue to check the next last variable’s value. By truncate I mean reconstruct HEX with your variables, but omit the last variable if it’s value equals 20.
Might be a faster way though but this would get it done.
- This reply was modified 10 years, 6 months ago by msepsis.
Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen