Search This Blog

February 10, 2023

Text Shuffle v0.01

This code is total written mess. I'll work this out when has concentration. It has some rules:
  • If word is consisted of less then or equal to 3 letters, don't change it
  • If word is consisted of exactly 4 letters just switch two letters inside (letter 3 with letter 2 or vice versa)
  • If word is consisted of more than 4 letters, garble all, except first and last letters
  • Not sure when it comes to numbers with words or numbers bigger than 4 in length, should it garble it then or not
  • Need to add more support: think optimization, different approach, et cettera

Known delimiters

Text to be processed

Result of processed text

If you find any bugs please contact me through email or comments section.

No comments:

Post a Comment