PHP Strings

PHP Strings

A string is a sequence of characters, like “Hello, World!”.

PHP – Modify Strings

PHP provides numerous functions to modify strings.

PHP – Concatenate Strings

Concatenate two or more strings using the . operator.

PHP – Slicing Strings

Extract a part of a string using substr().

PHP – Escape Characters

Escape special characters within strings.

 

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *