FancyMenu [Fabric] [MOVED TO NEW PROJECT]

FancyMenu [Fabric] [MOVED TO NEW PROJECT]

17M Downloads

"Crop Text" placeholder

Keksuccino opened this issue ยท 2 comments

commented
  • Placeholder allows to remove characters from the beginning and end of a string
  • Has an input for "Amount of characters to remove from the start" (default = 0)
  • Has an input for "Amount of characters to remove from the end" (default = 0)
commented

I can submit another pull request for this, although substring is a more suitable term?
And "Trim Text" can be used to remove the extra spaces:

  • Placeholder allows to remove whitespaces before and after of a string
  • Has an input for only the string

This can be useful if an API endpoint can't be modified, and the values have spaces before or after a string.

commented

I renamed this placeholder and opened another issue for a placeholder that removes all leading and trailing spaces (#989).
Please DO NOT MAKE A PULL REQUEST, because I rarely accept them. I will add the placeholders when I have time.