Skip to content

Add new text_*() functions that allow for more convenient transformations of rendered text #1238

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

Merged
merged 36 commits into from
Mar 5, 2023

Conversation

rich-iannone
Copy link
Member

This PR adds a few functions based on the existing text_transform():

  • text_replace()
  • text_case_when()
  • text_case_match()

These enable more precision in how rendered text could be replaced and none of them require the provision of a custom function.

@rich-iannone rich-iannone marked this pull request as ready for review March 5, 2023 18:30
@rich-iannone rich-iannone merged commit 6272bc5 into master Mar 5, 2023
@rich-iannone rich-iannone deleted the new-text-fns branch March 5, 2023 19:18
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