Subj : fried brain
To : Angus McLeod
From : Deuce
Date : Tue May 13 2008 12:01 am
Re: fried brain
By: Angus McLeod to Deuce on Mon May 12 2008 11:16 pm
> You could split() the word_wrap()ed result on /\n/ and process the
> returned array elements individually, to place them in the "window". Where
> is word_wrap() implemented? Could it be altered to optionally return an
> array type?
It's implemented in js_global.c. It could return an array, but if you want an
array, just do a .split(/[\r\n]+/) or something. That way you get to use cool
string methods and I don't have to do anything. :-)
---
Synchronet - Jump on the Web 0.2 bandwagon!
---
� Synchronet � My Brand-New BBS (All the cool SysOps run STOCK!)