additional-text-utils

Additional Text Utils

Stable version 1.1.1 (Compatible with OutSystems 11)
Other versions available for 10
Published on 18 July 2017 by 
5.0
 (3 ratings)
additional-text-utils

Additional Text Utils

Details
A bucket of utils to manipulate text:
  • Text to Date conversion
  • Text to SHA1
  • Pluralize / Singularize (for english words)
  • Left / Right
Read more

Contains the following methods to work with Text:

  • TextToDate
    Converts a Text to a Date given the format.

  • TextToSha1 
    Converts a text to SHA1 represented by ASCII characters

  • Pluralize (Word) 
    Pluralizes a word (english).
    E.g. Order becomes Orders, Priority becomes Priorities, Status becomes Statuses, ...

  • Singularize (Word)
    Singularizes a word (english).
    E.g. Orders becomes Order, Priorities becomes Priority, Statuses becomes Status, ...

  • TextLeft (Word, NumberOfCharacters) 
    Returns the NumberOfCharacters leftmost characters of the Text. Similar to Substring(Word, 0, NumberOfCharacters)

  • TextRight  (Word, NumberOfCharacters)
    Returns the NumberOfCharacters rightmost characters of the Text.
    Similar to Substring(Word, Length(Word)-NumberOfCharacters, NumberOfCharacters) but properly handles shorter Words than the NumberOfCharacters


What’s new (1.1.1)
  • New methods:
    • Pluralize (Word) 
      Pluralizes a word (english).
      E.g. Order becomes Orders, Priority becomes Priorities, Status becomes Statuses, ...

    • Singularize (Word)
      Singularizes a word (english).
      E.g. Orders becomes Order, Priorities becomes Priority, Statuses becomes Status, ...

    • TextLeft (Word, NumberOfCharacters) 
      Returns the NumberOfCharacters leftmost characters of the Text. Similar to Substring(Word, 0, NumberOfCharacters)

    • TextRight  (Word, NumberOfCharacters)
      Returns the NumberOfCharacters rightmost characters of the Text.
      Similar to Substring(Word, Length(Word)-NumberOfCharacters, NumberOfCharacters) but properly handles shorter Words than the NumberOfCharacters


  • Improved Documentation
  • Minor performance improvement on the pluralization service
  • Online "Try Now" page so you can test on your own
Reviews (0)