Skip to content

feat: Add string insertion operators Append, Prepend, and Insert At#2360

Open
oliver-mitchell wants to merge 1 commit intogchq:masterfrom
oliver-mitchell:oliver-mitchell/feat/add-string-insert-operators
Open

feat: Add string insertion operators Append, Prepend, and Insert At#2360
oliver-mitchell wants to merge 1 commit intogchq:masterfrom
oliver-mitchell:oliver-mitchell/feat/add-string-insert-operators

Conversation

@oliver-mitchell
Copy link
Copy Markdown

Commit summary:

  • Added Append operator to insert text at the end of the input
  • Added Prepend operator to insert text at the start of the input
  • Added Insert At operator to insert text at a given index within the input
  • Added tests for all new operations.

Description
Added 3 string insertion operators: append, prepend, and insert at - allowing for text to be inserted at the end, start, and within the input string respectively. All three operators also allow for a delimiter to be specified, allowing for string insertion operations on a set of delimiter-split strings.

Existing Issue
N/A

Screenshots
Screenshot 2026-05-06 at 2 50 37 AM

AI disclosure
N/A

Test Coverage
Tests have been added for all three operators.

- Added Append operator to insert text at the end of the input
- Added Prepend operator to insert text at the start of the input
- Added Insert At operator to insert text at a given index within the input
- Added tests for all new operations.
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