Home >> FAQs/Tutorials >> PHP Script Tutorials and Tips >> Index

PHP Tutorials - Understanding String Literals and Operations

By: FYICenter.com

A collection of 13 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. Topics included in this collections:

  1. How Many Escape Sequences Are Recognized in Single-Quoted Strings?
  2. Can You Specify the "new line" Character in Single-Quoted Strings?
  3. What Are the Special Characters You Need to Escape in Double-Quoted Stings?
  4. How Many Escape Sequences Are Recognized in Double-Quoted Strings?
  5. How To Include Variables in Double-Quoted Strings?
  6. How Many Ways to Include Variables in Double-Quoted Strings?
  7. How Many Ways to Include Array Elements in Double-Quoted Strings?
  8. How To Access a Specific Character in a String?
  9. How To Assigning a New Character in a String?
  10. How To Concatenate Two Strings Together?
  11. How To Compare Two Strings with Comparison Operators?
  12. How To Convert Numbers to Strings?
  13. How To Convert Strings to Numbers?

(Continued on next topic...)


Selected Developer Jobs:

More...