A collection of 19 tips on manipulating PHP strings. Clear answers are provided with tutorial exercises on string functions including strlen, trim, substr, chop, strpos, strcmp, split, etc
A collection of 14 tips on PHP string literals, operations and conversaion. Clear explanations and tutorial exercises are provided on single-quoted strings, double-quoted strings, string elements, concatenation, converting values to strings, converting strings to values: What Are the Special Characters You Need to Escape in Quoted Stings?
Can You Specify the "new line" Character in Single-Quoted Strings?
How Many Escape Sequences Are Recognized in Quoted Strings?
How Many Escape Sequences Are Recognized in Double-Quoted Strings?
How To Include Variables in Double-Quoted Strings?
How Many Ways to Include Variables in Double-Quoted Strings?
How Many Ways to Include Array Elements in Double-Quoted Strings?
How To Access a Specific Character in a String?
How To Assigning a New Character in a String?
How To Concatenate Two Strings Together?
......
In order to accomplish almost any programming task with PHP you'll be dealing with strings. To get the best out of PHP you must thoroughly understand the basic string functions available. In this tutorial we will lay down the foundations needed for a solid understanding of strings.
36 pages of examples and discussions about strings.
This is a nice introductory tutorial on PHP. It explains what it is, how it works, and covers some basic elements like Variables, Control-structures, and Functions.
In this tutorial you will learn about PHP - Introduction to PHP, What you should already know? What’s PHP? What’s the difference between PHP and HTML? When to use PHP? What makes PHP a choice among the other scripting languages?