PHP Classes

CUtils: Manipulate text and other general purpose function

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-06-09 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 628 All time: 4,738 This week: 1,152Up
Version License PHP version Categories  
cutils 3.2Freely Distributable5PHP 5, Utilities and Tools, Text proc...
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: Brazil Brazil
Age: 41
All time rank: 125586 in Brazil Brazil
Week rank: 866 Up69 in Brazil Brazil 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:628All time:4,738
 This week:0This week:1,152Up