Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generic format options #5737

Open
emptyrivers opened this issue Mar 7, 2025 · 2 comments
Open

generic format options #5737

emptyrivers opened this issue Mar 7, 2025 · 2 comments
Labels
⏱ Awaiting Response This ticket hasn't been triaged yet. 🎨 Feature Request This is a request for a new feature, or an expansion of an existing feature.

Comments

@emptyrivers
Copy link
Contributor

I have the following aura:

!WA:2!9zvZUTTrqyl4dgGOhCfsCsCstzuQDTAmsI(XbTfifj0rcof2XUu0jPiiqAj3LsBl1UelxQy5IErOh6z)iOl9srp4d9CrEc2AuKhaFOpa5jOZsYkA7kvFWA2DM9B(7BgPcnl2ViUi(N3qWJLbugrS7(oB)0N14euSShxSBOKYzrghJPrHbOHoKdKH)WkvUl1e(3auqmX8EArjxIcmxBfVkLnwPQwD1C1vZvxfuxtRUwU6A5QRbQRRvxpxD9C11lhEJZejT95I(izBV6zswmoKcd313pIi36rhEO3JMBU5ogX8GCzpoLjD3SXZCAyhAofycBlP9jzNkeU(umjlNBJjE0(OG2HcqickrZFkuW4GjuVxqXYEwpgokqEjLVhyhjrcPHfLrLgU(Whr9mgjf0UDjIOVAvrM47SKddjwXGzHfJJiTrUrCH7weuWoCmPZPrXUKbeMSvSVp9GJBV5JB50ULZJTDon38etTtSB0MXcbH5nCKwTg3oJ9YU6P46VDuuiji4P4iJK3NRQJnd1NezOwYvxdiIjUEpbbCTDR9AS92JXexisCGGwSvJT3R5(BFumllzmwvDP3PUSAj1v6OUQ6AQL7OUU6gW5sQB(K3Q(ydLzh1TmuFuh1TvFIAf1QQpDwpcS5MoN5nAqo3J(7WROZaiF8O(uVZMkNbQ0hRb8Mw1Qu5(AaZCVgrTFtrm8d19UbeN0Crxs)15cV(uznPc2AYd(9ahJiyOGNdnwO3)ltNWwjtsTq4TMI(SbMCJMkivNO3YNZKHl2KkqM7WzCZDiyAC)XqpZM0vtbxEj1Lpbo6I8((UWWodpg6IeCcz9N(GWsZEEOph3wGKKowbCe(3prxMHklGbKP9CH4eyflz3poqsnS9cqrrlP(sdlDRqlKq9oegm7DAaWGcAZb2ccMowU0dFODYvlx6ZV)rAZso1zCcxK33fj7fUO(awG6YzckMY62XkIEirJ8rrKa)0XARDDC2DNr66qlq71cx0locgi15Z(Hyi8vxFQL6SfntkLNe1dH5V5LP7qMFQVPYfApUECMpTRr4QZUkgq6I8g22pGZf9gls6k65glPEL6u7V1M4GJqmQE3cN9a1InbA6cVLGIiTKafVRS3cNGJfjQBR3FiIiqaHJgPTr7dGG0hrzjpu9nlOSvTuoGyXlEJThpGl(65H)MbV88flXbzRA)Jr)4ZB677hE7zxbY3vooV3CqH)Cn)ywYEY1kBAyc)fW9G19)7TMDjY1G9NsY6M(usaUCIrMMcImwWmrqQd8Xb3nXMOxL8XRnrm8mu9QeuETjxyE)eOimSXzampCYCuA88gcWgjcc28HjHuL1nlLunkDE78qIbtmQAUrM3Xekg9UBcdyTC0UNz9nkB(zMv24CWiIztqP2SqjZxZaIU0a8emQplmsD0)bISIXK4C9SeB90iB9m0pxb0aekVw5rVHlWVqGch9ImHW7mBAbEi8nnWcBzpbjQhpapu8Da9G6p0A7gnDgl5Eds3LE1c)2LkrXhTFiqVH7KtLJw7cC0J9fW3KbJkijA(3N(tbAQVspz42At7gnEw2q)3MYMVXCvJP4J)c(gHB18L75w2AgBoUWs6B9)8dgMenPEAZK5ScfkaZcWOkn7xzrzP2bNmMrYDEFwmQ6tidko4VE5)a

it looks like this:

Image

i would like to be able to format the %value & %total patterns to have a fixed width (in this case, 3), so that it lines up nicely. left padding the substring with spaces would do the trick.

@emptyrivers emptyrivers added the 🎨 Feature Request This is a request for a new feature, or an expansion of an existing feature. label Mar 7, 2025
@github-actions github-actions bot added the ⏱ Awaiting Response This ticket hasn't been triaged yet. label Mar 7, 2025
@emptyrivers
Copy link
Contributor Author

bonus points for:

  • right pad a string with spaces
  • left/right pad a number with insignificant zeros
  • (maybe?) pad a string with an arbitrary character

@InfusOnWoW
Copy link
Contributor

I think padding with spaces has lots of use cases, but the others sound far less interesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⏱ Awaiting Response This ticket hasn't been triaged yet. 🎨 Feature Request This is a request for a new feature, or an expansion of an existing feature.
Projects
None yet
Development

No branches or pull requests

2 participants