Flipkart.com

PHP Strings

String variables are used for values that contains character strings. A string can be used directly in a function or it can be stored in a variable. For example <?php $txt="Hello ...

Capitalization in PHP

strtoupper () Make a string uppercase Syntax : string strtoupper ( string $string ) Returns string with all alphabetic characters converted to uppercase Parameters : string : The input ...

Make a string lowercase in PHP

Make a string lowercase Syntax : string strtolower ( string $str ) Returns string with all alphabetic characters converted to lowercase. Parameters : str : The input string. Return ...

Split a string by string- using explode in php

Split a string by string Syntax : array explode ( string $delimiter , string $string [, int $limit ] ) Returns an array of strings, each of which is a substring of string formed by ...