PHP Front To Back [Part 12] - Common String Functions

preview_player
Показать описание
In this video we will go over some common and useful string functions such as

substr()
strpos()
strtoupper()
strtolower()
ucwords()
trim()
str_replace()
gzcompress()

CODE: Code for this video

EDUONIX COURSES: Please use affiliate links from website below

SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support:

FOLLOW TRAVERSY MEDIA:
Рекомендации по теме
Комментарии
Автор

In substr('Hello', 1, 3), the second number is actually the number of characters to extract, not the position of the end of the substring. So substr('computer', 3, 3) will return 'put'.

Festerbestertester
Автор

No VS Code && no Prettier ...? How did we LIVE back then lol 😂🤯 These videos are great even years later! Thanks Brad

petecapecod
Автор

One of the very best tutorials I've ever watched. Thanks!

salemmagdy
Автор

Please brad keep adding more videos in this playlist. It is very useful.

adilmughal
Автор

Forgive my newbie question. Executing this line with or without curly braces yields the same result: echo "{$value} is a string<br>"; Would someone be kind enough to explain why. Thank you

Osteele
Автор

I have learnt something new. I did not know about passing variables in {}

OliverMensahDev
Автор

How many episodes do you think this series will have? Thanks btw im really enjoying it and learning alot...also do you recommend any other resources to learn about the language of PHP? Thank you!!

ChowChannel
Автор

Can we use this code in the HTML side instead of using trim function ?

oninput="this.value = this.value.replace(/\s/g, '')"

mustafaaljasim
Автор

at 11:00, why do you put {} around variable names in your echo? They are outputed the same way weather you put it or not so it seems unnecessary.

qwertzuiop
Автор

@10:54 why do you use curly braces here for $value? I tried it without and I had no issues. Are you mixing things up with Angular's String-Interpolation maybe? :D

eb
Автор

Did not know you can use # (hash) to comment a single line. Nice!

xrZt
Автор

With strpos() what would happen if the string does not contain the sub string?

yusuf-
Автор

Hey Brad, is it possible a chapter about CRON JOB? How to run a script on the server? I want to delete photos older than 30 days and I thought do this with cron task, but I have no idea about how to do. And a big question, how to save files below the public_html to be safe? And how to access them in the cms? Thanks a lot.

erlongs
Автор

There was no need saying sorry about that musical ping. but when you say its another nice thing..

NadeemGorsi
Автор

a certain eduonix learning stole some of your videos. am sure the voice is sure yours

odunladeoluwaseun
Автор

won't you complete the angularFire tutorials ?

MohamedAliskiaa
Автор

Kind of funny what kind of commercials appear when you watch this stuff "Hi! do you want to make a website blablabla" if they went something like "Hi! do you want a snicker bar a can of cola and a pack of sigarettes?" that would make a lot more sense.. That AI is not really 'there' yet..

alexstevensen
Автор

Who not use Live Reload Google Chrome Extension: or do you want newbies to not feel intimidated as you click refresh on browser each time.

Good teacher

wdhuntertv
Автор

I miss the times when Brad answered the comments

samuelpimenta
Автор

You are just focusing on javascript. Please add videos on PHP as well.

adilmughal