• String Manipulation

  • _Asc(char): Gets the ASCII code of a single character.

  • _Chr(n): Returns the character corresponding to the given ASCII code.

  • _Instr(string, substring): Finds the position of a substring within a string (search is left to right).

  • _InstrRev(string, substring): Similar to _Instr, but searches from right to left.

  • _Lcase(string): Converts a string to lowercase.

  • _Left(string, n): Extracts the first n characters from the left side of a string.

  • _Len(string): Gets the length of a string.

  • _Ltrim(string): Removes whitespace from the left side of a string.

  • _Mid(string, start, n): Extracts n characters starting from a specified position within a string.

  • _Right(string, n): Extracts the last n characters from the right side of a string.

  • _Rtrim(string): Removes whitespace from the right side of a string.

  • _Space(n): Creates a string consisting of n spaces.

  • _StrReverse(string): Reverses the order of characters in a string.

  • _String(string, n): Creates a string consisting of a single character repeated n times.

  • _Trim(string): Removes whitespace from both the left and right sides of a string.

  • _Ucase(string): Converts a string to uppercase.

    Data Formatting

  • _DateToString(datetime): Converts a datetime object into a formatted string representation.

  • _DollarToString(number): Converts a number to its text representation in dollars and cents.

  • _NumToString(number): Converts a number to its basic string representation (e.g., "123")

  • _NumToStringTH(number): Converts a number to its ordinal string representation (e.g., "123rd")

  • _NumToString_SP(number): Converts a number to its Spanish string representation.

  • _RandomCod(): Generates a random code (the specific format is unclear without more context).

    Security and Web Encoding

  • _Check_Invalid_Html(string): Checks if a string contains HTML tags outside of an allowed list, likely to help prevent cross-site scripting (XSS) vulnerabilities.

  • _CleanQuery(string): Seems designed to sanitize a string to prevent SQL injection attacks.

  • _CleanValue(string): Removes content between <script> tags, another XSS prevention measure.

  • _Replace_Html_Entities(string): Replaces reserved HTML characters with their entity equivalents for safe display in web pages.

  • _Url_Decode(string): Decodes URL-encoded strings (replaces %xx sequences with characters).

  • _Url_Encode(string): Encodes special characters into URL-safe format.

    Array Manipulation

  • _Explode(Data_to_Explode, Separator_Char, Name_of_Array_to_Create): Splits a string into an array based on a separator character.

  • _Explode_Trim(...): Similar to _Explode, but also trims whitespace from the resulting array elements.

    Miscellaneous

  • _HtmlResult(): Likely gets the current HTML output generated by the script.

  • _InstrResult(substring): Seems to search for a substring within the current HTML output.

  • _IsBadEmailFormat(string): Performs basic validation of an email address format.