Closed Thread Icon

Topic awaiting preservation: What is the use of ' trim ' command ? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=24127" title="Pages that link to Topic awaiting preservation: What is the use of &amp;#039; trim &amp;#039; command ? (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: What is the use of &#039; trim &#039; command ? <span class="small">(Page 1 of 1)</span>\

 
whl626
Neurotic (0) Inmate
Newly admitted

From:
Insane since: Nov 2004

posted posted 11-21-2004 02:32

How to use ' trim ' in php and what is the function of it ?

Thanks in advance

zavaboy
Bipolar (III) Inmate

From: f(x)
Insane since: Jun 2004

posted posted 11-21-2004 03:00

Definition of the trim() function:

quote:
trim -- Strip whitespace from the beginning and end of a string


php->trim()

DmS
Maniac (V) Inmate

From: Sthlm, Sweden
Insane since: Oct 2000

posted posted 11-21-2004 13:43

usage:
$string = trim($string);

Done...
/Dan

{cell 260} {Blog}
-{ ?Computer games don?t affect kids; I mean if Pac-Man affected us as kids, we?d all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music.? (Kristian Wilson, Nintendo, Inc, 1989.) }-

hyperbole
Paranoid (IV) Inmate

From: Madison, Indiana, USA
Insane since: Aug 2000

posted posted 11-21-2004 21:41
quote:
?Computer games don?t affect kids; I mean if Pac-Man affected us as kids, we?d all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music.?



Sounds like the asylum to me.

-- not necessarily stoned... just beautiful.

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 11-21-2004 21:49

hyperbole: Not far, but two important things are missing in that description :

  1. the shock therapies
  2. the squid of the North wing



« BackwardsOnwards »

Show Forum Drop Down Menu