Content deleted Content added
No edit summary |
Keep the Functions, Remove Just Code |
||
Line 22:
return rtrim(ltrim(s));
}
==Keep the functions. Remove just code==
Hi, I think you should remove the "other languages which don't have trim functions" section. They '''don't''' have trim or a close analogue, so they should be trimmed. It is superfluous text at the end of the article that happens to take up more than half the article that is supposed to be on '''trim''' rather than what is not trim. It is quite easy to define trim-like and, by omision what is not trim-like. That section becomes a tutorial on how to write trim in other languages and should be removed or moved to this talk page. Please refer to [[What_Wikipedia_is_not#Wikipedia_is_not_a_manual.2C_guidebook.2C_or_textbook| this]].
|