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 #3693

Open
wants to merge 1 commit into
base: main
Choose a base branch
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 8, 2024

Deploy Preview for guileless-rolypoly-866f8a ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit c7ba592
🔍 Latest deploy log https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/66b4ed96e268500008765377
😎 Deploy Preview https://deploy-preview-3693--guileless-rolypoly-866f8a.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Kumar06Lav
Copy link
Author

@colinhacks Could you please help me with review of my PR and merging it(if everything is fine)?

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