Languages

Fsharp
ActionScript
xBase
Clean
GPSS
PureBasic
Sieve
Erlang
JOVIAL
Mercury
Linda
DataFlex
PostScript
FoxPro2
VFP
Cobol
Prolog
Jython
Awk
VisualBasic
JavaScript
Matlab
ASP
Haskell
Csharp
D
Smalltalk
Nemerle
Pixilang
Java
SQL
Python
ObjectPascal
Ruby
Perl
Pascal
Assembler
PHP
C
Functions  Add function  Users  Registration  Enter   About  ASCII Table  Our helpers

trim in PHP

(PHP 4, PHP 5)

trim — Strip whitespace (or other characters) from the beginning and end of a string
Description
string trim ( string $str [, string $charlist] )

This function returns a string with whitespace stripped from the beginning and end of str. Without the second parameter, trim() will strip these characters:
" " (ASCII 32 (0x20)), an ordinary space.
"\t" (ASCII 9 (0x09)), a tab.
"\n" (ASCII 10 (0x0A)), a new line (line feed).
"\r" (ASCII 13 (0x0D)), a carriage return.
"\0" (ASCII 0 (0x00)), the NUL-byte.
"\x0B" (ASCII 11 (0x0B)), a vertical tab.
Parameters

str

The string that will be trimmed.
charlist

Optionally, the stripped characters can also be specified using the charlist parameter. Simply list all characters that you want to be stripped. With .. you can specify a range of characters.
Return Values

The trimmed string.
Doing for this function is string
Add by Pancho
You can edit it here
abcarticle.ru (blockart[dog]mail[dot]ru)
8fX8y5 <a href="http://ifuzjblauswg.com/">ifuzjblauswg</a>, [url=http://xyxkzwabkiya.com/]xyxkzwabkiya[/url], [link=http://gjswpiyytxxb.com/]gjswpiyytxxb[/link], http://yqljxmerdbks.com/
abcarticle.ru (blockart[dog]mail[dot]ru)
SwnTYx <a href="http://hgnqpdkntbcp.com/">hgnqpdkntbcp</a>, [url=http://vscvmbqvdjis.com/]vscvmbqvdjis[/url], [link=http://jmzgbipmzaqo.com/]jmzgbipmzaqo[/link], http://yrvpipofgjtr.com/
Adding comments is available only for registered users.

NSF Selects Young Theoretical Computer Scientist for its Highest Honor

Photo of NYU's Sughash Khot, this 2010 recipient of NSF's Alan T. Waterman Award.

The National Science Foundation (NSF) is pleased to announce the selection of New York University's Subhash Khot, an associate professor at the Courant Institute of Mathematical Sciences, to receive its 2010 Alan T. Waterman Award. Considered the NSF's most prestigious honorary award since its establishment in 1975, this honor is given annually to an outstanding researcher under the age of 36 in any field of science and engineering supported by NSF. The honor includes a grant of ...

More at http://www.nsf.gov/news/news_summ.jsp?cntn_id=116554&WT.mc_id=USNSF_51&WT.mc_ev=click


This is an NSF News item.

PycckaR
BepcuR


Articles
Articles


Library
Library


Downloads
Downloads

Google Chrome Golf 6
 © Internet, books, teachers and Rudevich Alexander brains.