Rainrays Profiles
 
English
   Login | Registration | What you Want | Free Ads | Tours & Travel India

Home rainrays profile world Aadhaar Card Online Free Marketing Contact Us Online Free Marketing URL Submission Online Free Marketing Tour n Travel Free Ads with rainrays Products Web Directory Pincode India Web Directory Search India Jobs Herbalife Club Online Fm radio Recipes

 
Custom Search
Plan Your Tour
Best Tours India
 Week End Tours  Week End Tours
 Wildlife tours Wildlife tours
 Honeymoon  Honeymoon Tours
 Religious Tours Religious Tours
 Religious Tours International Tours
 Religious Tours Indian Tours for Overseas




Delhi Agar Jaipur Tour

More Topics...
  Hospitals & clinics in India Hospitals & clinics in India
  Hospitals & clinics in India World Travel Tips
 Kitchen Dictionary Kitchen Dictionary
 Recipes Recipes
 Personality Personality
 Institute/Colleges Institute/Colleges
 Indian Festivals Indian Festivals
 University University
 Restaurant Restaurant
 Districts List in India Districts List in India
 Districts Profile of India Districts Profile of India
 Hotels Hotels
 BSNL STD Codes (INDIA) BSNL STD Codes (INDIA)
 Love dating and Romance Love dating and Romance
 Baby name list Baby name list
 Jobs by location Jobs by location
 Jobs by Keyword Jobs by Keyword
 Jobs by Function Jobs by Function
 Jobs Part Time Jobs Part Time
 Shayari Shayari
 Place Profile Place Profile
 Business Profiles Business Profiles
 Professional Profiles Professional Profiles
 Rainrays Member Rainrays Member
 

String

 Topic » Language » PHP » String
   
1

strpos() and stripos()
 int strpos ( [string $mystring] , [mixed $findme], [int $offset] ) return position of first occurrence of a string Note: counting start from '0'. <?php $strng = 'my job is account teache..
strip_tags()
Mostly this function is use in front end of website when we fill the form this function Strip HTML and PHP tags from a string string strip_tags ( [string $str], [string $allowable_tags] ) we can und..
explode() Split a string into Array
 explode() Split a string into Array array explode ( [string $delimiter] , [string $string] , [int $limit]  ) EX: <?php $strng = 'a|bb|ccc|dddd'; print_r(explode('|', $strng)); e..
number_format(number,decimals,decimalpoint,separator)
number_format(number,decimals,decimalpoint,separator) number:Be formatted. decimals:For how many decimals place(Optional). decimalpoint: decimal indicator(Optional). separator: Default value is&qu..


String Formating Functions
lcfirst( string $string ): First character of string in lowercase ucfirst(string $string): First character of string in uppercase ucwords(string $str): Returns a string with the first character of e..
implode():Array elements convert into a string
string implode ( [string $glue] , [array $pieces] )   Return a string value <?php     $array = array('Somesh', 'Birjesh', 'Raju');     $val = implode(":..
htmlspecialchars_decode():Convert special HTML entities back to characters
htmlspecialchars_decode():Convert special HTML entities back to characters   string htmlspecialchars_decode(string $string,int $quote_style) quote_style   ENT_QUOTES Will convert both d..
htmlspecialchars():Convert special characters to HTML entities
string htmlspecialchars ( [string $string], [int $quote_style], [string $charset], [bool $double_encode = true] ) '>' (greater than) becomes '&gt;' '<' (less than) becomes '&lt;' ..
htmlentities():Convert all applicable characters to HTML entities
string htmlentities ([string $string ], [int $quote_style] , [string $charset]) quote_style ENT_NOQUOTES    Will leave both double and single quotes unconverted. ENT_QUOTES &nbs..
html_entity_decode():Convert all HTML entities to their applicable characters
string html_entity_decode ( string $str, int $quoteStyle, string $charset ) str is: any type string quoteStyle are: ENT_NOQUOTES    Will leave both double and single quotes unconvert..
crc32(),md5(),sha1()
crc32(): Calculates the crc32 polynomial of a string sha1():Calculate the sha1 hash of a string   <?php $val = crc32("Pankaj Raghuwanshi"); echo $val; echo "<br>&quo..
count_chars(): Return information about characters used in a string
 Return information about characters used in a string count_chars ( string $string [, int $mode = 0 ] ) count_chars ( 'The examined string', 'See return values' ) Ex:   <?php $data ..
chunk_split():Split a string into smaller chunks
Split a string into smaller chunks string chunk_split ( string $str [, int $chunklength = 76 [, string $end = "rn" ]] ) string chunk_split ( 'The string to be chunked.','The chunk length..
chr(): Return a specific character
Return a specific character The ascii code. Ex. <?php     $str = "o/p of function: ";     $str .= "--".chr(98)."--";   ..
substr_replace(): Replaces text within a portion of a string
Replacing Substrings string substr_replace ( string str, string replacmnt, int start [, int len] ) replace the entire instance (say, by changing the ever-so-clichéd "Hello World!"..
strstr():Finds the first occurrence of a string
string strstr ( string str, string needle ) string stristr ( string str, string needle ) Ex. <? $url = "www.xxx.com"; $domain = strstr ($url, "."); echo $domain; ?> ..
substr(): Returns a piece of a string
string substr ( string string, int start [, int length] )  <?PHP $str= "Hello, how are you today? I am fine!"; if (strlen ($str) >= 30){     echo substr ($str,0..
substr_count()
Counts the number of substring occurrences  php program function searchtext ($haystack, $needle){     if (substr_count ($haystack, $needle) == 0){     &nb..
   
1
More on rainrays.com
Top Links : FM Radio | Contact us | About us | Privacy & Policy | Terms & Condition | Extract Email | Submit URL to Search Engine | Sitemap
Net Search : For Cooking | Word Dictionary | Encyclopedia Search | Find Location by MAP | Find a Person | Find Your Shipping | Stock Market | Language Converter
Jobs : Jobs by Location | Part Time Jobs | Jobs by Function | Jobs by Keyword | Jobs Out of india | Jobs Search Engine
Other Links
    Girl baby Names | Boy baby Names | Love dating and Romance | University | Restaurants in India | Hotels in India | Hospitals & clinic
    Coaching Institute | Educational Institution | School/Colleges by Loaction | Recipes | STD Code | PHP
PHP Interview Question | Indian Festivals | Districts Profile of India | Kitchen Dictionary

Copyright © 2010 --- All Rights Reserved