CUtils
Package:
Summary:
Manipulate text and other general purpose function
Groups:
Author:
Description:
This class can be used to manipulate text and other general purpose functions.
It can perform several types of operations to manipulate text strings and other functionality. Currently it can:
- Crop a text string up to a given limit number of characters
- Clean or replace certain types of characters from a string
- Convert text string between two character sets
- Detect string character set encoding
- Add quotes to a string
- Get an unique text string
- Check if a list of values is an empty string or has only not set values
- Check if a string begins, ends or contains another string
- Check if a string contains a separator of a given list
- Enclose text within HTML tags
- Encode text to display as HTML
- Output text code for executing as JavaScript
- Output headers or HTML tags to redirect users to another page
- Format values as money amounts or floating point numbers
- Output headers to disable browser cache
- Parse an URL
- Create an anchor link
- Validate e-mail addresses
- Send an e-mail message
- List files and directories within a directory
- Format dates
- Convert month numbers to month names
- Parse dates
- Compute the difference between two dates
It can perform several types of operations to manipulate text strings and other functionality. Currently it can:
- Crop a text string up to a given limit number of characters
- Clean or replace certain types of characters from a string
- Convert text string between two character sets
- Detect string character set encoding
- Add quotes to a string
- Get an unique text string
- Check if a list of values is an empty string or has only not set values
- Check if a string begins, ends or contains another string
- Check if a string contains a separator of a given list
- Enclose text within HTML tags
- Encode text to display as HTML
- Output text code for executing as JavaScript
- Output headers or HTML tags to redirect users to another page
- Format values as money amounts or floating point numbers
- Output headers to disable browser cache
- Parse an URL
- Create an anchor link
- Validate e-mail addresses
- Send an e-mail message
- List files and directories within a directory
- Format dates
- Convert month numbers to month names
- Parse dates
- Compute the difference between two dates
Comments are closed.