Home   -   News   -   Game Tour   -   Screenshots   -   Rules   -   Chat   -   Contact   -   Forum
pt ro hu de es
pl it no nl en
The Land of Destiny Hero welcomes you.
Role playing game or called MMORPG free browser game
Posts

Breadcrumbs to navigate the website Homepage / Forum / Test forum / Test



Topic: Test Post reply

Page: [1] 2 [3] [4]

Moderator Posted on: 25-06-2008 15:33:46
Posts: 461



i
Moderator Posted on: 25-06-2008 15:34:24
Posts: 461



normally it would be too short, but with some spaces in it, it's good, maybe strip a bit?
Moderator Posted on: 25-06-2008 15:34:31
Posts: 461



Moderator Posted on: 25-06-2008 15:34:52
Posts: 461



or with only spaces.. looks like a bit of spam to me...
Moderator Posted on: 25-06-2008 15:36:01
Posts: 543



it should be using the trim() function to trim the message
Moderator Posted on: 25-06-2008 15:39:13
Posts: 461



ltrim() and rtrim() otherwise you'll remove all the spaces,
Member Posted on: 25-06-2008 16:14:02
Posts: 822



ltrim + rtrim = trim
trim doesn't remove áll spaces, only those on the beginning and the end of the string. But it's not that important.
Moderator Posted on: 25-06-2008 16:57:32
Posts: 543



yes and you should remove the spaces at the beginning and end if you don't want people to post empty messages
Moderator Posted on: 25-06-2008 19:39:24
Posts: 461



yea, i thought with trim() youremoveallthespacesinastring

but if you say so,
Member Posted on: 25-06-2008 19:53:45
Posts: 822



id0001:
yes and you should remove the spaces at the beginning and end if you don't want people to post empty messages
Or we could just ban them if they won't stop.

Page: [1] 2 [3] [4]

You have to register or login first before you are able to reply.
LoD is a free online rts game free online MMORPG