Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] - WordWrap function (textwrap())

Author
Message
Ace of Springs
12
Years of Service
User Offline
Joined: 10th Jan 2012
Location: Cambodia
Posted: 3rd Jun 2012 00:53
Simple word wrapping function. Simply use textwrap() in place of the text command.

I.E. textwrap("Really long string that needs to be wrapped",100,100,25)


textwrap(string,x,y,characters per line)



Login to post a reply

Server time is: 2024-04-19 17:22:56
Your offset time is: 2024-04-19 17:22:56