Working with Substrings in PHP, Substring Built-In Functions, Find Matching String in PHP Codecademy

Channel:
Subscribers:
7,740
Published on ● Video Link: https://www.youtube.com/watch?v=UtGBHP98ms8



Category:
Tutorial
Duration: 2:37
47 views
4


In this PHP programming tutorial we take a look at Working with Substrings in PHP, Substring Built-In Functions, Find Matching String in PHP Codecademy. This is based on the Codecademy "Learn PHP" course. We are in the section, "Intro to Built-In PHP Functions" section, and the lesson is "Working with Substrings". In this lesson, we begin to look at functions that work with PHP substrings. We learn that a substring is a portion of a string or a string within a string. We are able to use the substr_count() function that will return the number of times a substring is found within a string we specify. Learning about how to work with PHP substrings will aid you in your programming journey! Make sure to practice working with PHP substrings to truly begin to understand the power behind string substring functions in PHP. In this lesson, we take a look at substr_count() which allows us to see how many times a substring appears in a string we provide the function. Learning how to work with substrings in PHP is key to becoming a well-rounded PHP developer. Understanding that substr_count() function will count any instance where the letters all appear so if we search for a word like "obvious" then it will register a count for the word "obviously" as well since it begins with the keywords we are searching for. Make sure to practice working with PHP substrings and have a clear understanding before moving on to the next lesson!




Other Videos By We Will Code


2022-05-06Accessing an Element in an Array with PHP, How to Access Value in an Array with PHP, Access Array
2022-05-05How Printing Arrays Works in PHP, implode function, print_r function in PHP, View Array Values, PHP
2022-05-05Creating Arrays with Short Syntax in PHP, Short Syntax Ordered Array Creation Short Syntax Array PHP
2022-05-05Creating Arrays with array Keyword in PHP, Learn How To Create PHP Arrays, Ordered Arrays in PHP
2022-05-05What are Ordered Arrays in PHP, How Ordered Arrays Work, Ordered Arrays Explained, Understand Arrays
2022-05-04Review of PHP Built-In Functions, Intro to Built-In PHP Functions Learn PHP Fast and Easy Codecademy
2022-05-04Finding Functions in the PHP Documentation, How to Find the Right Function to Use in PHP, Codecademy
2022-05-03How to Read PHP Documentation, Reading PHP Documentation, How to Learn the PHP Documentation Easy
2022-05-03Generating Random Numbers in PHP, Random Number Function with PHP, Learn to Generate Random Numbers
2022-05-02Working With Number Functions in PHP, abs PHP Function for Calculate Absolute Value, Round Function
2022-05-02Working with Substrings in PHP, Substring Built-In Functions, Find Matching String in PHP Codecademy
2022-05-02Different Built-In PHP String Functions Explained, Learn PHP Functions for Strings, Codecademy PHP
2022-05-02New JLAB Talk Go Microphone, Most Affordable Good Quality Vocal Microphone, Clear Vocal Microphone
2022-04-30Working with Variables in PHP, gettype function, PHP var_dump function, Learn PHP Built-In Functions
2022-04-25Is Echo a Function in PHP, Constructs Vs Functions in PHP, Echo is Not a Function, PHP Did You Know
2022-04-25Intro to Built-In PHP Functions, How to Use Built-In PHP Functions, Built-In Functions in PHP Guide
2022-04-24Review of PHP Functions, Intro to PHP Functions, Review, Create a PHP Function, Invoke a Function
2022-04-22How Variable Scope Works in PHP, Variable Scope Explained, Local vs Global Scope, PHP Function Scope
2022-04-21What is Pass By Reference in PHP, Pass By Reference Explained, Learn PHP Codecademy, Parameter Alias
2022-04-21Default Parameters in PHP, Default Parameters in Functions, PHP on Codecademy PHP Default Arguments
2022-04-20Multiple Parameters in PHP, Using Multiple Function Parameters in PHP, Codecademy Learn PHP Coding



Tags:
Coding
Learn PHP
PHP
Programming
Server-side
back-end
code tutorial
tutorials