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

Reduce use of substr for readability/performance. #14

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

demiankatz
Copy link
Member

This PR is inspired by vufind-org/vufind#3196 and simplifies code by using str_starts_with and str_ends_with instead of substr where feasible.

@demiankatz demiankatz merged commit ffdf126 into vufind-org:dev Nov 13, 2023
3 checks passed
@demiankatz demiankatz deleted the reduce_substr branch November 13, 2023 13:34
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.

2 participants