Give us feedback
string-utils
Web icon

String Utils

Stable version 1.0.3 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded on 01 February 2019 by 
4.6
 (10 ratings)
string-utils

String Utils

Details
A library of string utilities extending the platform string manipulation capabilities
Read more

The following are the string functions provided by this extension 


  • string Reverse(string input)

  Reverse the given input.  

  • bool EndsWith(string input , string search,  bool ignoreCase)

  Determines whether the end of input string instance matches the search string. ignoreCase determines to ignore case or not.

  •  bool StartsWith(string input , string search,  bool ignoreCase)

  Determines whether the start of input string instance matches the search string. ignoreCase determines to ignore case or not.

  •  string Insert(string input ,int startIndex, string search,  bool insert)

  Returns a new string in which the insert string is inserted at a specified index position in the input.

  • string Left(string input ,int length)

Returns a string containing a specified number(length) of characters from the left side of the input.

  • string Right(string input ,int length)

Returns a string containing a specified number(length) of characters from the right side of the input.

  •  string Remove(string input, int startIndex)

  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.

  • string RemoveDuplicateChars(string input)
  •   Returns a new string with all the duplicate characters removed. 

  •  string RemoveWithCount(string input, int startIndex, int count)

Returns a new string in which a specified number of characters (count)  in the input beginning at a specified position (startIndex) have been deleted.

  • string Replace(string input, string search, string replace) 

Returns a new string in which all occurrences of a specified string (search) in the input are replaced with another specified (replace) string.

  • string UpperCaseFirst(string input) 

Returns a new string upper casing the first character of the input.

Release notes (1.0.3)

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

Reviews (1)
2021-06-08
in version 1.0.3
This is the one if you're looking for doing string manipulations.