String Functions in PHP
str_replace: to replace a part of a string with another string
str_ireplace: Case in-sensitive search and replace using array of strings
strlen: To find length of a string in PHP
trim: Removing empty space from both sides of a string
strrev: Reversing a string by using strrev function in PHP
stristr: Searching for a presence of a string inside another string
nl2br: Adding Line breaks inside a string in place of carriage returns
split: Breaking a string to form array using delimiters
substr: Collecting part of a string
substr_count: Counting occurrence of sub string in main string
str_repeat: Repeating a string number of times
strtolower(): function to change alphabets to Lower case
strtoupper(): function to change characters to upper case letters
strcasecmp(): Case insensitive string comparison
strcmp(): Case sensitive string comparison
str_pad(): String pad with specified length
md5(): hash of a string: encryption of a string
Tuesday, December 8, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
If you are really interested about our blogger, Please Share your opinion here ...
If you Found Any Interviews in your reliable sources, Please Post the information through this Comment and It will be Published in our blogger. help every one to get a Job.