Skip to content
This repository was archived by the owner on Mar 9, 2020. It is now read-only.

Support Instance_num parameter of SUBSTITUTE function. Fixed issue #530#531

Open
twaltari wants to merge 1 commit intoJanKallman:masterfrom
twaltari:master
Open

Support Instance_num parameter of SUBSTITUTE function. Fixed issue #530#531
twaltari wants to merge 1 commit intoJanKallman:masterfrom
twaltari:master

Conversation

@twaltari
Copy link
Copy Markdown

Enhances SUBSTITUTE() function with the fourth, optional parameter instance_num.
https://support.office.com/en-us/article/substitute-function-6434944e-a904-4336-a9b0-1e58df3bc332

Fixes #530

Added three unit tests (TextFunctionsTests.SubstituteShouldReplaceOnlyFirstInstance, TextFunctionsTests.SubstituteShouldReplaceOnlySecondInstance and StringFunctionsTests.SubstituteShouldReplaceOnlySecondInstanceFound) to verify this works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant