• Home
FacebookTwitterRSS

Sumit Bansal

Ad Widget
  • Home
  • PHP
    • PHP Functions
    • PHP5 OOPS
  • MySql
  • Scripts
    • Java Scripts
    • PHP Scripts
  • Frameworks
    • Codeigniter Tips
  • Web Development
    • Technical Skills
    • Web Designing Tips
    • Web Development Tips
    • API
  • WordPress
    • WordPress Plugin
    • WordPress Tips
  • Computer Related
Friday, 22 February 2019
Ad Widget

Category: PHP Functions

Using String Position and Substring to Extract a Portion of a String using PHP

Posted on August 25, 2010 by Bansal Sumit | 0 Comments
We’re going to use several string functions together. Let’s take the string testing testing Username:Michele Davis and retrieve only the name. Using several functions together to extract a portion of a string This Code Return testing testing Username:Michele Davis 16…
Read more »

Checking for a String using PHP

Posted on August 25, 2010 by Bansal Sumit | 0 Comments
To detect whether a string is part of another string, use strstr. This function takes two parameters: the string to search through and the string to search for. It is not case sensitive; if you want to use a function…
Read more »

Changing Case (Uppercase to lowercase or inverse) using php

Posted on August 25, 2010 by Bansal Sumit | 0 Comments
PHP provides functionality for changing the case of a string to all uppercase, all lowercase, or the first letter of a word to uppercase. The commands are strtoupper, strtolower, and ucwords, respectively. Using the word case functions The above code…
Read more »

Cutting up strings or Extract a portion of a string using PHP

Posted on August 25, 2010 by Bansal Sumit | 0 Comments
The substring functions provide a way to extract a portion of a string. All that’s needed is the string to work with, the position to start from, and how many characters to extract. Use the LEFT, RIGHT, and SUBSTRING functions…
Read more »
← Previous 1 2 3

Random Posts

  • How to delete the file using php
  • How to get number of days between two dates in PHP
  • Force download using PHP
  • How to validate email id in javascript
  • Paging in PHP (Splitting records into pages)

Advertisement

Ad Widget

Get Updates

Subscribe to our newsletter to receive breaking news by email.

  • Popular
  • Latest
  • Comments
  • How to export Email List from cpanel using javascript and firebug

    April 11, 2013
  • How to validate email id in javascript

    April 22, 2013
  • Get current URL in PHP

    February 27, 2012
  • Find latitude and longitude using google map API

    February 12, 2012
  • Fix wordpress plugin profile pic error

    January 20, 2012
  • Five Reputation Management Tips To Increase Web Traffic

    Five Reputation Management Tips To Increase Web Traffic

    March 24, 2018
  • Why Search Engine Rankings of Your Website Are Lower?

    Why Search Engine Rankings of Your Website Are Lower?

    March 7, 2018
  • Benefits of Using WordPress For Website Development

    Benefits of Using WordPress For Website Development

    February 26, 2018
  • Importance of Having a Professional Website Design for Your Business

    Importance of Having a Professional Website Design for Your Business

    February 20, 2018
  • How To Optimize App For Better Ranking In Google Play Store

    How To Optimize App For Better Ranking In Google Play Store

    February 8, 2018
  • baksogoreng.web.id It's actually a great and helpful piece of info. I am satisf
  • car wreckers best informatin or all of us fr getting best iea about this
  • sagar Thank you so much works perfect
  • Glinda wonderful publish, very informative. I ponder why the opposi
  • alat bantu seks pria thanks dude.. awesome article

Most Views Posts

  • Error reporting and debugging in codeigniter

  • Adding And Subtracting Dates in PHP

  • How to Replace Newline with Space Using PHP

  • How to check date if date is between two date

  • Rewrite dynamic URL to static URL in PHP using .htaccess

Popular Posts

  • How to export Email List from cpanel using javascript and firebug
  • How to validate email id in javascript
  • Get current URL in PHP
  • Find latitude and longitude using google map API
  • Fix wordpress plugin profile pic error

Random Posts

  • How to show the size of folder using PHP with progressbar
  • Install a window via a Pendrive
  • Using String Position and Substring to Extract a Portion of a String using PHP
  • How to Replace Newline with Space Using PHP
  • Run the .php extension(or .shtml, or .asp, etc), code in .html file

Recent Posts

  • Five Reputation Management Tips To Increase Web TrafficFive Reputation Management Tips To Increase Web Traffic
  • Why Search Engine Rankings of Your Website Are Lower?Why Search Engine Rankings of Your Website Are Lower?
  • Benefits of Using WordPress For Website DevelopmentBenefits of Using WordPress For Website Development
  • Importance of Having a Professional Website Design for Your BusinessImportance of Having a Professional Website Design for Your Business
  • How To Optimize App For Better Ranking In Google Play StoreHow To Optimize App For Better Ranking In Google Play Store
© Copyright 2017 Sumit Bansal.