2017-07-18
1.1.1
Gonçalo Borrêga
All
.NET
Libraries
[Overview]
A bucket of utils to manipulate text: Text to Date conversion Text to SHA1 Pluralize / Singularize (for english words) Left / Right
[Detail]
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