Class reference table - stringAssistant
The class stringAssistant provides static methods to manipulate stings. After
importing the class via
import('tools::string','stringAssistant');
the following functions can be used:
-
escapeSpecialCharacters() (statisch):
Strips special characters that can be problematical during saving data to a database or while
displaying them in form controls.
-
replaceSpecialCharacters() (statisch):
Replaces characters that are not allowed for files names and returns a sanitized string.
-
encodeCharactersToHTML() (statisch):
Encodes a string into HTML entities.
-
generateCaptchaString() (statisch):
Generates a string, that can be used as a captcha check string.
Comments
Do you want to add a comment to the article above, or do you want to post additional hints? So please click here. Comments already posted can be found below.
There are no comments belonging to this article.
|