| Recommend this page to a friend! |
| All class groups | > | All authors | > | Packages of Ashish (2) | > | Mission progress status | > | Reputation |
|
||||||||||||||||||||||||||||||
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| ||||
| This class provides several general purpose functions, like: - Creating .htaccess and .htpasswd files - Encoding and decoding text strings with base64 and rot13 algorithms - Count the number of words in a phrase - Highlight text string within a phrase with HTML tags - Create SQL INSERT or UPDATE statements from a list of table field values |
| ||||
| This is a very simple class that can be used to count the number of words in a text string. It normalizes the text string converting several types of word separators into spaces. Then it splits the string into groups of characters separated by spaces. The class returns the number of groups of characters that contain at least one letter or digit to skip counting groups of characters made only of punctuation or other types of characters. |
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |