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

Data analysts should be able to reverse strings using Text.reverse #3377

Merged
merged 4 commits into from Apr 5, 2022

Commits on Apr 4, 2022

  1. feat: Add Text.reverse extension for string reversal

    This commit implements `Text.reverse` as an extension on `Text`.
    `Text.reverse` reverses strings. For example: `"Hello World!".reverse`
    results in `"!dlroW olleH"`.
    
    Strings are reversed by their Extended Grapheme Clusters not by their
    characters. This has some performance implications because we need to
    find these grapheme cluster boundaries when iterating. To do so,
    `BreakIterator.getCharacterInstance` is used.
    
    Implements: https://www.pivotaltracker.com/n/projects/2539304/stories/181265419
    indiv0 committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    7b283f3 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. Configuration menu
    Copy the full SHA
    221a588 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b9425f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b6b004f View commit details
    Browse the repository at this point in the history