Login   Register  
PHP Classes
elePHPant
Icontem

CUtils: Manipulate text and other general purpose function

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 608 This week: 1All time: 4,700 This week: 1,587Up
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: 40
All time rank: 126285 in Brazil Brazil
Week rank: 342 Up23 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:608All time:4,700
 This week:1This week:1,587Up