NEW4.00.03 · Released 27 September 2023
NEWfinPOWER Connect
Released in
4.00.03
27 September 2023
- Opened17 Jul
- Closed17 Jul
- Released27 Sep
Article 20461
Job J031561
Business Layer: new function to replace text added to ISTextUtilities
A new function to replace text within a string with case insensitive searches, has been added to ISTextUtilities, i.e. finBL.Runtime.TextUtilities.
NewString = finBL.Runtime.TextUtilities.ReplaceText(SourceString, OldValue, NewValue, IgnoreCase)
The ReplaceText function includes the ability to use case insensitive searches for oldValue within sourceString. The String.Replace function in the version of the .NET Framework's currently used for finPOWER does not include the ability to perform case insensitive searching.
The Visual Basic function Replace() provides case insensitive functionality, but is less accessible to C# programmers and is being retired in preference to the standard .NET String.Replace function. C# scripts would need to include the Microsoft.VisualBasic namespace.