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

feat: added support multiple parameters in .startsWith() and .endsWith() in string for ticket #3683 #3690

Closed
wants to merge 1 commit into from

Conversation

Kumar06Lav
Copy link

Added support for multiple parameters in the .startsWith() and .endsWith() methods for string validation. This enhancement allows for more versatile input checks by enabling validation against an array of possible starting or ending values.

This implementation was done for ticket #3683

Changes:

Modified the .startsWith() method to accept an array of valid prefixes.
Implemented the .endsWith() method to validate strings against multiple suffixes.
Added test cases to verify the new functionality.
Updated documentation to reflect the changes and provide usage examples.

Copy link

netlify bot commented Aug 6, 2024

Deploy Preview for guileless-rolypoly-866f8a failed.

Built without sensitive environment variables

Name Link
🔨 Latest commit efdb835
🔍 Latest deploy log https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/66b250ef2327390008d6dc92

@Kumar06Lav Kumar06Lav closed this by deleting the head repository Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant