StringExtensions Methods
Last updated
Last updated
Returns the length leftmost characters of the input string. If the input string is shorter than length, the whole string is returned.
A string that consists of the length leftmost characters of the input string.
Returns the length rightmost characters of the input string. If the input string is shorter than length, the whole string is returned.
A string that consists of the length rightmost characters of the input string.
Parameter
Description
str
Type: String
The input string on which the extension is called.
length
Type: Int32
How many characters shall be returned.
Parameter
Description
str
Type: String
The input string on which the extension is called.
length
Type: Int32
How many characters shall be returned.