Reply To: Removing spaces from ASCII text

Home Forums General Programming Removing spaces from ASCII text Reply To: Removing spaces from ASCII text

#13620
msepsis
Participant
  • Topics: 219
  • Replies: 732
  • Total: 951
  • ★★★

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 8 years, 7 months ago by msepsis.

Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen

Ctrlr