-
-
Notifications
You must be signed in to change notification settings - Fork 0
easyextensionshelpers StringHelpers
BigMakCode edited this page Aug 5, 2024
·
1 revision
String helpers.
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph EasyExtensions.Helpers
EasyExtensions.Helpers.StringHelpers[[StringHelpers]]
end
| Returns | Name |
|---|---|
string |
CreatePseudoRandomString(...)Fast generate pseudo random string with StringHelpers.DefaultCharset and string length. |
string |
CreateRandomString(...)Generate random string with StringHelpers.DefaultCharset and string length. |
string |
RemoveSpaces(string comment)Remove spaces from string - trim, replace new lines and multiple spaces. |
String helpers.
public static string CreatePseudoRandomString()Fast generate pseudo random string with StringHelpers.DefaultCharset and string length.
Pseudo-random string.
public static string CreatePseudoRandomString(int length)| Type | Name | Description |
|---|---|---|
int |
length | Result string length. |
Fast generate pseudo random string with StringHelpers.DefaultCharset and specified string length.
Pseudo-random string.
public static string CreatePseudoRandomString(int length, string charset)| Type | Name | Description |
|---|---|---|
int |
length | Result string length. |
string |
charset | Generator charset. |
Fast generate pseudo random string with specified charset and string length.
Pseudo-random string.
public static string CreateRandomString()Generate random string with StringHelpers.DefaultCharset and string length.
Really random string.
public static string CreateRandomString(int length)| Type | Name | Description |
|---|---|---|
int |
length | Result string length. |
Generate random string with StringHelpers.DefaultCharset and specified string length.
Really random string.
public static string CreateRandomString(int length, string charset)| Type | Name | Description |
|---|---|---|
int |
length | Result string length. |
string |
charset | Generator charset. |
Generate random string with specified charset and string length.
Really random string.
public static string RemoveSpaces(string comment)| Type | Name | Description |
|---|---|---|
string |
comment |
Remove spaces from string - trim, replace new lines and multiple spaces.
Generated with ModularDoc