Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed PHP Functions!
You have completed PHP Functions!
Preview
Strings are a major data type for us in PHP and something we will often need to search, parse, & test against. Let's look at some of the most common of the PHP's built-in string functions.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Let's look at some of the most common of
PHP's built in string functions.
0:00
The last function that we were looking at
is strlen.
0:04
We were looking at it just to see how we
actually utilize strlen.
0:07
Now, let's go ahead over to Workspaces.
0:11
I'm gonna toggle over and actually use
strlen.
0:14
We're gonna look at a few different string
functions.
0:18
So, mainly they're meant to manipulate or
look into strings.
0:21
They might return something other than a
string such as,
0:25
strlen is going to return integer.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up