Skip to content

Conversation

@aurrelhebert
Copy link

@aurrelhebert aurrelhebert commented Dec 6, 2022

closes #1080
After some thoughts, to be able to apply a lot of custom predicates on String we should be able to split the strings based on a user input.
This pull request is a proposal to be able to split a string and verify two predicates on the result.
I implemented at first a SplitAt predicate that take an Index to split the string. Then apply and AND on the two given predicates.

In the same way I can implement a SplitBy predicate that would split into two string when matching the given string input.

What do you think?

@mergify mergify bot added the core label Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chaining refined string operation

1 participant