PHP functions to manipulate strings


Back to php.


moderator    (2009-09-22)

moderator

PHP functions to manipulate strings

Here is a useful list of PHP functions that will allow you to manipulate strings in any way. You should take a look at all of them, it is really necessary if you want to implement in PHP 5 easily :

addcslashes()
addslashes()
bin2hex()
chop()
chr()
chunk_split()
convert_cyr_string()
convert_uudecode()
convert_uuencode()
count_chars()
crc32()
crypt()
echo()
explode()
fprintf()
get_html_translation_table()
hebrev()
hebrevc()
html_entity_decode()
htmlentities()
htmlspecialchars_decode()
htmlspecialchars()
implode()
join()
lcfirst()
levenshtein()
localeconv()
ltrim()
md5_file()
md5()
metaphone()
money_format()
nl_langinfo()
nl2br()
number_format()
ord()
parse_str()
print()
printf()
quoted_printable_decode()
quotemeta()
rtrim()
setlocale()
sha1_file()
sha1()
similar_text()
soundex()
sprintf()
sscanf()
str_getcsv()
str_ireplace()
str_pad()
str_repeat()
str_replace()
str_rot13()
str_shuffle()
str_split()
str_word_count()
strcasecmp()
strchr()
strcmp()
strcoll()
strcspn()
strip_tags()
stripcslashes()
stripos()
stripslashes()
stristr()
strlen()
strnatcasecmp()
strnatcmp()
strncasecmp()
strncmp()
strpbrk()
strpos()
strrchr()
strrev()
strripos()
strrpos()
strspn()
strstr()
strtok()
strtolower()
strtoupper()
strtr()
substr_compare()
substr_count()
substr_replace()
substr()
trim()
ucfirst()
ucwords()
vfprintf()
vprintf()
vsprintf()
wordwrap()



See also


ficgs
More websites

You must register to see these links, as this is a collaborative page, then you may change the order of the links by clicking the icons before the titles.



admin
Other websites

The following links might be less relevant, please change their ranks if you find them useful.


 String manipulation in PHP - Christopher Jason
christopherjason

 String manipulation in PHP - Basics of PHP | PHP Tutorial
phpcatalyst > string manipulation

 PHP: PHP String Manipulation: Tutorial.
htmlfixit > cgi tutes/tutorial

hatever amount you feel this site was worth to you would be just...
As always if you need personal help, come see us at...

 PHP: String Functions - Manual
php > manual/en/ref.strings.

In responce to mike here is a better random string function...
A comprehensive concatenation function, that works with array and...

 PHP Script Tips - Manipulating Strings with Built-in Functions - Tutorialized
tutorialized > tutorial

PHP Script Tips - Manipulating Strings with Built-in...
// Ad Setting, Mandatory _ad_custkey =...

 PHP string functions summary | PHP, HTML, CSS, JQUERY, MYSQL Tutorials
999tutorials

 PHP String Functions
plus2net

Separating domain and userid part from an email address using...
Random string generator with number and alphabets for...
Submit your email address and receive article and product...

 Substr PHP Function - Return Part of a String in PHP
php.about > od

Python String Methods: Built-in Methods for Handling Strings in...

 PHP Tutorial - strpos
tizag

Five #1 is at position - 4 Five #2 is at position - 14 Five #3 is...
The position of 5 in our string was 4 The position of the second 5...
for the number 5 and use the last match's value (stored in $offset)...

 Miles Johnson // Blog: 5 custom PHP functions: Strings
milesj > blog/read/15/5 Custom

function convertAccentedCharacters($string) { return...
/** * If a string is too long, shorten it in the middle * @param...
/** * Creates a comma separated list with the last item having an...

 PhpDig.net - PHP - String Functions
phpdig > ref/rn58

is enabled, single quotes escaped by...
These functions are built into PHP by default and can only...

 Php Strings // BlogCatalog Topic // BlogCatalog
blogcatalog > topic

 PHP programavimo bendruomenė
php > render/page,inside;menuname,man;f,ref.strings

 Using regular expressions to manipulate strings in PHP
networking.mydesigntool > viewtopic.

In the code below eregi_replace will surround every appearance...
In the above example we found out that followed by a number...
Using regular expressions to manipulate strings in...

 Appendix C. PHP Reference
developer.yahoo > searchmonkey/smguide

 PHP Learn It! PHP Strings
php learn it

Welcome! In programming, a string is a sequence of letters,...
Learn how you can start building rich interactive database driven...

 PHP: String Functions - Manual
algorytmy > doc

street portraits / portrety uliczne nieznajomych - zobacz galerię...
zaznacz działy do przeszukania (brak wyboru = wszystkie...
Po wysłaniu do Dariusza problemu jeszcze nie opisanego w poradach,...

 Blueswami - PHP - string manipulation - PHP - string manipulation
blueswami

LET HIS HOLINESS SWAMI BAKTANIMBIN RELIEVE YOU OF THE HEAVY BURDEN OF...

 PHP Tutorial: String Manipulation
learnphp tutorial > Strings.cfm

if ($LastName == '' || $Gender == '') { echo 'Error: You...
All material in this String Manipulation is copyright 2011...



Response  
 

Guest name   (option)     Register
Please sum : 7263 + four  




Trackbacks : If you talked about this article in your blog or website, you may instantly get a backlink 
There's no trackback at the moment.