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

String mutator #2868

Open
richardwerkman opened this issue Mar 4, 2024 · 0 comments · May be fixed by #2904
Open

String mutator #2868

richardwerkman opened this issue Mar 4, 2024 · 0 comments · May be fixed by #2904
Labels
🚀 Feature request New feature or request

Comments

@richardwerkman
Copy link
Member

Is your feature request related to a problem? Please describe.
We could add mutations to string-type method calls. I was thinking about these:

Original Mutated
EndsWith() StartsWith()
StartsWith() EndsWith()
Trim()
TrimEnd() TrimStart()
TrimStart() TrimEnd()
Substring()
ToUpper() ToLower()
ToLower() ToUpper()
ToUpperInvariant() ToLowerInvariant()
ToLowerInvariant() ToUpperInvariant()
PadLeft() PadRight
PadRight() PadLeft()
ElementAt()
ElementAtOrDefault()
Min() Max()
Max() Min()
MinBy() MaxBy()
MaxBy() MinBy()

Do all of these make sense? And am I missing some?

@richardwerkman richardwerkman added the 🚀 Feature request New feature or request label Mar 4, 2024
@ruudschouten ruudschouten linked a pull request Apr 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant