String Utils

Stable Version 1.0.3 (O11)
Also available for 10
Published on 01 February 2019 by 
Created on 18 January 2019
Available in OutSystems versions:
OutSystems 11

Version 1.0.3

Stable
Current
Module
Published on 01 February 2019 by Amal Raj
Requirements
Platform:
11.0.0.200
Database:
All
Stack:
.NET
What's new

Added a new method ToTitleCase

string ToTitleCase(string input)

Converts the input string to title case (except for words that are entirely in uppercase, which are considered to be acronyms).

https://docs.microsoft.com/en-us/dotnet/api/system.globalization.textinfo.totitlecase?view=netframework-4.7.2

Version 1.0.2

Stable
Module
Published on 23 January 2019 by Amal Raj
Requirements
Platform:
11.0.0.200
Database:
All
Stack:
.NET
What's new

Added a new method OccurenceCount

int OccurenceCount(string input, string search) 

Returns the count of the number of occurrences of search string in the given input string. 

Version 1.0.1

Stable
Module
Published on 19 January 2019 by Amal Raj
Requirements
Platform:
11.0.0.200
Database:
All
Stack:
.NET
What's new

Minor bug fixes and also added a function 

string ReplaceRange(string input, string oldString, string newString, int startIndex, int count)

Returns a string where in the input all instances of oldString are replaced by newString in the range from startIndex to startIndex + count - 1. 

Returns an empty string for the following cases

input string is null or empty

oldString is null or empty

startIndex < 0 

count < 0

startIndex + count > length of input


Version 1.0.0

Under Development
Module
Published on 18 January 2019 by Amal Raj
Requirements
Platform:
11.0.0.200
Database:
All
Stack:
.NET
OutSystems 10

Version 1.0.4

Stable
Module
Published on 01 February 2019 by Amal Raj
Requirements
Platform:
10.0.0.402
Database:
All
Stack:
.NET
What's new

Added a new method ToTitleCase

string ToTitleCase(string input)

Converts the input string to title case (except for words that are entirely in uppercase, which are considered to be acronyms).

https://docs.microsoft.com/en-us/dotnet/api/system.globalization.textinfo.totitlecase?view=netframework-4.7.2

Version 1.0.3

Stable
Module
Published on 23 January 2019 by Amal Raj
Requirements
Platform:
10.0.0.402
Database:
All
Stack:
.NET