Vertices Engine  v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
Loading...
Searching...
No Matches
VerticesEngine.Utilities.vxSanitizer Class Reference

Text sanitizer which ensures properly formatted text, checks for profanity etc... More...

Static Public Member Functions

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.
 

Detailed Description

Text sanitizer which ensures properly formatted text, checks for profanity etc...

Member Function Documentation

◆ ContainsProfanity()

static bool VerticesEngine.Utilities.vxSanitizer.ContainsProfanity ( string text)
static

Checks if a string of text contains profanity.

Parameters
textThe 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
textThe 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
name
Returns

The documentation for this class was generated from the following file: