Functions22 public, 1 private
| Anonymizes the provided e-mail by masking it. | |||
| public | string | anonymizeMail | |
| Mail to anonymize. | |||
| required | string | ||
| string | maskChar | * | |
| Value between: 0.1 and 0.9 | |||
| numeric | maskFactor | 0.5 | |
| Anonymizes the provided name by abbreviating it. | |||
| public | string | anonymizeName | |
| Name to anonymize. | |||
| required | string | name | |
| Counts all occuring digits in the provided text. | |||
| public | numeric | countDigits | |
| required | string | text | |
| public | struct | extractDataURL | |
| required | any | dataURL | |
| Extracts all digits in the provided string. | |||
| public | any | extractDigits | |
| required | string | source | |
| struct | OPTIONS | {} | |
| option | "array", "string" | returnType | string |
| Extracts the plain text from the specified document file. | |||
| public | string | extractDocumentContent | |
| Location of the document file. | |||
| required | string | document | |
| Extracts all valid email addresses from the provided content. | |||
| public | array | extractMailAddresses | |
| required | string | content | |
| Extracts the content between the specified strings. | |||
| public | struct | extractRegion | |
| required | string | content | |
| required | string | tagStart | |
| required | string | tagEnd | |
| Attempts to recognize obvious names and returns the matching gender. | |||
| public | string | getGenderByName | |
| required | string | name | |
| Extracts the initial(s) in the provided stirng. | |||
| public | string | getInitials | |
| required | string | value | |
| numeric | initialLength | 1 | |
| Returns a shortened template path for the current template. | |||
| public | string | getShortTemplatePath | |
| required | string | fullPath | |
| required | string | startPath | |
| Returns a shortened template path for the current template. | |||
| public | string | getShortTemplatePathNoCase | |
| required | string | fullPath | |
| required | string | startPath | |
| Returns a shortened template path for the current template. | |||
| public | string | handleShortTemplatePath | |
| required | string | fullPath | |
| required | string | startPath | |
| required | boolean | caseSensitive | |
| Normalizes the provided URL. | |||
| public | string | normalizeURL | |
| URL to be normalized. | |||
| required | string | value | |
| Attempts to correct common typing errors in the provided e-mail address. | |||
| public | string | normalizeMailAddress | |
| required | string | ||
| Replaces all markup entities in the provided string. | |||
| public | string | replaceEntities | |
| required | string | source | |
| public | struct | splitName | |
| required | string | name | |
| string | language | en | |
| Separates name and number of the provided street. | |||
| public | struct | splitStreet | |
| required | string | street | |
| Separates the provided URL according to RFC 3986 without validating. | |||
| public | struct | splitUrl | |
| required | string | uri | |
| Strip additional characters based on punctuation. | |||
| public | string | stripBySentence | |
| required | string | text | |
| required | numeric | maxLength | |
| string | ellipsis | ||
| public | string | stripByWord | |
| required | string | text | |
| required | numeric | maxLength | |
| string | ellipsis | ||
| Removes all opening and (self-)closing HTML tags in the provided string. Content within the tags is not affected. | |||
| public | string | stripHtml | |
| required | string | source | |
| boolean | replaceEntities | true | |