Functionality of trim() Function

Will the trim() function strip the NULL bytes?

Questions by tallman07

Showing Answers 1 - 25 of 25 Answers

teynon

  • Jan 9th, 2011
 

The trim function trims whitespace characters. IE space, tab, etc.


NULL means that nothing exists. Therefore, the answer to your question is no. Trim does not strip NULL.

maheshreddy

  • Jul 22nd, 2011
 

Trim() function is build in function of PHP ,it is used for removing the empty space of a string in both side's.

trim()
ltrim()
rteim()

  Was this answer useful?  Yes

abc

  • Sep 12th, 2011
 

remove white spaces

  Was this answer useful?  Yes

Oswaldo

  • May 8th, 2012
 

No

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions