Comments

johnmeyer wrote on 5/8/2006, 2:07 PM
var test = String.fromCharCode(112, 108, 97, 105, 110, 13, 10, 13, 10);

This puts two carriage return/linefeed combinations at the end of the word plain.
malowz wrote on 5/8/2006, 2:56 PM
mmm i think i was not clear... i mean search and replace... not just "put" every time...

some time the var has the char, and replace this char to a return/linefeed...

from a simple:

streamWriter.WriteLine(region.Label);

to "if has the "X" char, put region.Label until the char, put a return, then the rest of the region.Label...

"my mom has a X car to sell"

become

"my mom has a
car to sell"

is better to replace the char or split the string and do more complex thing?
malowz wrote on 5/12/2006, 1:21 PM
maybe put a return after a x amouth of chars? (between words?)
malowz wrote on 5/26/2006, 10:31 AM
anyone??? please???? im really need a simple dvd subtitle exporting ... :(
JohnnyRoy wrote on 5/26/2006, 6:34 PM
You mean something like:
    string line = "fooXbar";
string split = line.Replace("X","\n");
This would result in:

foo
bar

Is that what you were looking for? (this is C# syntax BTW)

~jr
malowz wrote on 5/27/2006, 4:38 PM
holly s¨#&%!!!

tnks JohnnyRoy !!!! that is what i was looking for!!! now works nice!!!!!

god bless you!!!!! ;)