Home
PHP
Chart
Class
Components
Cookie Session
Data Structure
Data Type
Date
Design Patterns
Development
DNS
Email
File Directory
Form
Functions
Graphics Image
HTML
Language Basics
Login Authentication
Math
MySQL Database
Network
Operator
PDF
Reflection
Statement
String
Utility Function
Web Services SOAP WSDL
XML
Menu
String Trim Chop « String « PHP
PHP
String
String Trim Chop
1.
Trim only tab and newline characters from $str
2.
Trimming Strings: ltrim
3.
Trimming Strings: trim
4.
Trimming Strings for 'tab' and 'return'
5.
Specify the characters in charlist by giving their hexadecimal value
6.
String trim chop and length