Text sanitizer which ensures properly formatted text, checks for profanity etc...
More...
|
static bool | IsProfanity (string text) |
| Checks a string of text for whether it is profanity or not. NOTE This does not check if it 'Contains' any profanity. You should use ContainsProfanity(string) to check that.
|
|
static bool | ContainsProfanity (string text) |
| Checks if a string of text contains profanity.
|
|
static string | SanitizeFileName (string name, string replacement="_") |
| Sanitizes the file name to remove any invalied characters.
|
|
Text sanitizer which ensures properly formatted text, checks for profanity etc...
◆ ContainsProfanity()
static bool VerticesEngine.Utilities.vxSanitizer.ContainsProfanity |
( |
string | text | ) |
|
|
static |
Checks if a string of text contains profanity.
- Parameters
-
text | The text string to sanitize |
- Returns
◆ IsProfanity()
static bool VerticesEngine.Utilities.vxSanitizer.IsProfanity |
( |
string | text | ) |
|
|
static |
Checks a string of text for whether it is profanity or not. NOTE This does not check if it 'Contains' any profanity. You should use ContainsProfanity(string) to check that.
- Parameters
-
text | The text string to sanitize |
- Returns
◆ SanitizeFileName()
static string VerticesEngine.Utilities.vxSanitizer.SanitizeFileName |
( |
string | name, |
|
|
string | replacement = "_" ) |
|
static |
Sanitizes the file name to remove any invalied characters.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- /github/workspace/src/VerticesEngine/src.shared/Utilities/vxSanitizer.cs