IPro Online Your Text Processing PHP Libraries 


   


 IPro Libraries > IPro String

insertion_sort_asc
insertion_isort_asc
insertion_sort_desc
insertion_isort_desc
is_alphabet_char
is_cap_char
is_cap_str
is_symbol
is_ordinal_number
str_ngram_char
str_poss
str_iposs
str_split_cap
str_split_symbol
str_trim_char
str_ltrim_char
str_rtrim_char
strlen_sort_asc
strlen_sort_desc
cardinal_to_ordinal_number

IPro Array
IPro String
IPro Tag
IPro Text

Overview
FAQ


Introduction

IPro String Library allows you to manipulate string in various ways.

Requirements

PHP 5

Installation

See Installation.

Load Library

To use a library, include the library's .inc.php in your PHP script. Assume your document root is set as $path="/home/m3/public_html/", the include scripts for IPro String is as followed.

IPro String-include($path."ipro/string.inc.php");

Table of Contents

insertion_sort_asc - Sort string in ascending order by insertion sorting method.
insertion_isort_asc - Case-insensitive version of insertion_sort_asc().
insertion_sort_desc - Sort string in descending order by insertion sorting method.
insertion_isort_desc - Case-insensitive version of insertion_sort_desc().
is_alphabet_char - Check if string is Latin alphabet character.
is_cap_char - Check if string is upper case alphabet character.
is_cap_str - Check if all characters in string are upper case alphabet characters.
is_symbol - Check if all characters in string are symbols.
is_ordinal_number - Check whether a string is an ordinal number.
str_ngram_char - Generate n-gram characters from string.
str_poss - Find positions of all occurrences of a string.
str_iposs - Case-insensitive version of str_poss().
str_split_cap - Split string by capital alphabetical characters.
str_split_symbol - Split string by specified delimit characters.
str_trim_char - Strip first character and last character from string.
str_ltrim_char - Strip first character from string.
str_rtrim_char - Strip last character from string.
strlen_sort_asc - Sort string by string length in ascending order.
strlen_sort_desc - Sort string by string length in descending order.
cardinal_to_ordinal_number - Convert a cardinal number to ordinal number.
Copyright 2012 by Mice3 Software. All Rights Reserved.Site Map  |  Terms of Service | About Mice3