-
Notifications
You must be signed in to change notification settings - Fork 0
easyextensions StringExtensions
BigMakCode edited this page Aug 5, 2024
·
1 revision
String extensions.
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph EasyExtensions
EasyExtensions.StringExtensions[[StringExtensions]]
end
Returns | Name |
---|---|
long |
ReadOnlyNumbers (string str)Read only numbers from specified string. |
string |
SHA512 (string str)Create SHA512 hash of specified text string. |
string |
ToLowerFirstLetter (string text)Make first letter as lower case. If text is null or whitespace - returns String.Empty |
string |
ToUpperFirstLetter (string text)Make first letter as upper case. If text is null or whitespace - returns String.Empty |
String extensions.
public static string ToLowerFirstLetter(string text)
Type | Name | Description |
---|---|---|
string |
text |
Make first letter as lower case. If text is null or whitespace - returns String.Empty
Text with lower case first letter.
public static string ToUpperFirstLetter(string text)
Type | Name | Description |
---|---|---|
string |
text |
Make first letter as upper case. If text is null or whitespace - returns String.Empty
Text with upper case first letter.
public static string SHA512(string str)
Type | Name | Description |
---|---|---|
string |
str |
Create SHA512 hash of specified text string.
SHA512 hash.
public static long ReadOnlyNumbers(string str)
Type | Name | Description |
---|---|---|
string |
str |
Read only numbers from specified string.
Parsed number, or -1 by default.
Generated with ModularDoc