Closed megel closed 6 years ago
For the request RegEx.Replace from Microsoft/AL #266
Introduction of Regular Expression Replace in Codeunit Type Helper 10:
[External] RegexReplace(StringToReplace : Text;Pattern : Text;NewValue : Text) : Text Regex := Regex.Regex(Pattern); NewString := Regex.Replace(StringToReplace,NewValue); EXIT(NewString); [External] RegexReplaceIgnoreCase(StringToReplace : Text;Pattern : Text;NewValue : Text) : Text Regex := Regex.Regex(Pattern,RegexOptions.IgnoreCase); NewString := Regex.Replace(StringToReplace,NewValue); EXIT(NewString);
Added the Pull Request #29
Thank you for your pull request contribution! We will look into it right away.
For the request RegEx.Replace from Microsoft/AL #266
Introduction of Regular Expression Replace in Codeunit Type Helper 10: