String Utils is a library of string utilities extending the OutSystems Platform string manipulation capabilities.
Note: String Utils has no dependencies.
The Strings Utils library needs to be installed first from forge before using any of the actions provided.
How to use this library (Example):Step 1) Open Service Studio, click on “Install Application”. You will be redirected to the forge page. You write the name of the component, in this case, String Utils.Step 2) After the download and installation are done, you can open the application where you would like to use the library.Step 3) Click on “Manage Dependencies” and import the actions given by String Utils library.The library provides the following actions
Reverse the given input.
Determines whether the end of input string instance matches the search string. ignoreCase determines to ignore case or not.
Determines whether the start of input string instance matches the search string. ignoreCase determines to ignore case or not.
Returns a new string in which the insert string is inserted at a specified index position in the input.
Returns a string containing a specified number(length) of characters from the left side of the input.
Returns a string containing a specified number(length) of characters from the right side of the input.
Returns a new string in which all the characters in the input beginning at a specified position(startIndex) and continuing through the last position, have been deleted.
Returns a new string with all the duplicate characters removed.
Returns a new string in which a specified number of characters (count) in the input beginning at a specified position (startIndex) have been deleted.
Returns a new string in which all occurrences of a specified string (search) in the input are replaced with another specified (replace) string.
Returns a new string upper casing the first character of the input.
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
To test the functionality before using the library there is a Try Now , using which you can check the output of the provided actions interactively by giving sample inputs.