String functions in php. built-in string functions

Published: 19 August 2020
on channel: Savan Vachhani
25
4

php built-in string functions
chr() : Returns character from ascii val.
ord() : Returns ascii val from char.
Strtolower() : Convert into lower case.
Strtoupper() : Convert into upper case.
Strlen() : Return the length of string.
Ltrim() : Remove white space from left side.
Rtrim() : Remove white space from right side.
Trim() : Remove white space from both side.
Substr() : Returns sub string from given.
strcmp() : Compare two strings. (c-sensitive)
strcasecmp() : Compare two strings. (c-insensitive)
strpos() : Return position of 1st occurrence.
strstr() : Find 1st occurrence of str inside str.(CS)
stristr() : Find 1st occurrence of str inside str. (CIS)
Str_replace() : Replace the string.
strrev() : Reverse the string.


On this page of the site you can watch the video online String functions in php. built-in string functions with a duration of hours minute second in good quality, which was uploaded by the user Savan Vachhani 19 August 2020, share the link with friends and acquaintances, this video has already been watched 25 times on youtube and it was liked by 4 viewers. Enjoy your viewing!