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

Introduce substringBefore/After expressions #3118

Closed
ikalinin1 opened this issue Aug 30, 2022 · 0 comments · Fixed by #3225
Closed

Introduce substringBefore/After expressions #3118

ikalinin1 opened this issue Aug 30, 2022 · 0 comments · Fixed by #3225
Labels
feature New feature or request
Milestone

Comments

@ikalinin1
Copy link
Member

ikalinin1 commented Aug 30, 2022

In order to simplify string manipulations we need to introduce the following expressions:
#{substringBefore('123', '2')} => outputs 1
#{substringAfter('123', '2')} => outputs 3

Should work as org.apache.commons.lang3.StringUtils#substringBefore(java.lang.String, int)
org.apache.commons.lang3.StringUtils#substringAfter(java.lang.String, int)

@valfirst valfirst added the feature New feature or request label Sep 30, 2022
@valfirst valfirst added this to the 0.5.0 milestone Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants