Author Topic: Trim Function  (Read 968 times)

0 Members and 1 Guest are viewing this topic.

Offline mikembm

  • Soldier
  • **
  • Posts: 210
Trim Function
« on: April 16, 2007, 09:57:21 pm »
Why doesn't the trim() take away \r and \n?

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Trim Function
« Reply #1 on: April 16, 2007, 10:57:17 pm »
Because its not meant to.... trim removes spaces..... duh

Offline mikembm

  • Soldier
  • **
  • Posts: 210
Re: Trim Function
« Reply #2 on: April 17, 2007, 01:28:01 am »
Hmm, PHP's trim removes those :P
Is there any Pascal function that can?

Offline KeYDoN

  • Major
  • *
  • Posts: 60
Re: Trim Function
« Reply #3 on: April 23, 2007, 11:29:36 am »

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Trim Function
« Reply #4 on: April 23, 2007, 07:45:06 pm »
The compiler is just linking to the default Trim function of Delphi so it should.