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

Strutil: trimmed_whitespace #3636

Merged
merged 1 commit into from
Oct 29, 2022

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Oct 29, 2022

It's similar to trim_whitespace, but returns the trimmed result, rather than operating in-place on a string_view&.

Also add unit testing of trim_whitespace and trimmed_whitespace

It's similar to trim_whitespace, but returns the trimmed result, rather
than operating in-place on a `string_view&`.

Also add unit testing of trim_whitespace and trimmed_whitespace
@lgritz lgritz merged commit af4b6f1 into AcademySoftwareFoundation:master Oct 29, 2022
@lgritz lgritz deleted the lg-trimmed branch October 29, 2022 17:25
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Nov 2, 2022
It's similar to trim_whitespace, but returns the trimmed result, rather
than operating in-place on a `string_view&`.

Also add unit testing of trim_whitespace and trimmed_whitespace
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.

None yet

1 participant