PHP Classes

CUtils: Manipulate text and other general purpose function

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 654 This week: 1All time: 4,910 This week: 560Up
Version License PHP version Categories
cutils 3.2Freely Distributable5PHP 5, Tools, Text processing
Description 

Author

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

Picture of Leandro Antonello
Name: Leandro Antonello <contact>
Classes: 3 packages by
Country: United States United States
Age: 49
All time rank: 1275186 in United States United States
Week rank: 411 Up48 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file cutils.class.php Class Main class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:654
This week:1
All time:4,910
This week:560Up