String Utils

Stable Version 1.0.3 (O11)
Also available for 10
Published on 1 Feb by 
Created on 18 Jan
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.

What’s new (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 (0)
Category
Components, Libraries
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Amal Raj who created this component.
Dependencies
String Utils has no dependencies.
Requirements
Platform
11.0.0.200
Database
All
Stack
.NET
Component Consumers
No consumers yet.
Weekly Downloads 
Related Components
Silk UI Web
OutSystems R&D
A fully responsive and beautiful UI framework that works within the OutSystems Platform. Build amazing looking applications, in a fraction of the time, which work perfectly across devices. Learn how to start using Silk UI and see the examples at silkui.outsystems.com . Obtain assistance on using Silk UI in our forums .
28627
Multiple File Upload
Multi Uploaders
Allow you to upload multiple files in one upload form or using drag and drop functionality.
2779
OutSystems UI Mobile
OutSystems R&D
Create amazing native mobile applications using this fully integrated UI framework for OutSystems, with dozens of UI patterns ready to use.
10105
More from Amal Raj
Tiny Touchable Image Carousel Slider
Headfitted Labs
Tiny Touchable jQuery Image Carousel Slider Plugin - jflex jflex is a tiny jQuery carousel plugin that converts a list of images into a touchable and draggable carousel slider with tabbed navigation & an autoplay timer.
23
Animated Calendar
Amal Raj
Animated Calendars a pretty simple, which appends a beautiful, customizable and animated date picker to your input fields.
46
Dynamic UI Theming
Headfitted Labs
This component can change the UI Theme dynamically based on the User or by the User Group. For User Group use Group and Group_User entity.
48