Uh oh!
There was an error while loading. Please reload this page.
- 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.
publicstaticstringToLowerFirstLetter(stringtext)| 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.
publicstaticstringToUpperFirstLetter(stringtext)| 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.
publicstaticstringSHA512(stringstr)| Type | Name | Description |
|---|---|---|
string | str |
Create SHA512 hash of specified text string.
SHA512 hash.
publicstaticlongReadOnlyNumbers(stringstr)| Type | Name | Description |
|---|---|---|
string | str |
Read only numbers from specified string.
Parsed number, or -1 by default.
Generated withModularDoc