K
KC
Hi all,
I m new in Java, Im not know well about Java syntax, for now, I need
to reform a string var, find out the newline char ( "\r\n" ) and
replace it with specify no. of Space char ( " " ), in order to get the
result string char with 50 * (no.of line) char,
example as blow:
" The group you are posting to is a Usenet group.\r\nMessages posted
to this group\r\nWill make your email address\r\n"
orginal sting change it into
"The group you are posting to is a Usenet group. " +
"Messages posted to this group
" +
"Will make your email
address "
for each line contains exactly 50 char
Thx all for attention,
I m new in Java, Im not know well about Java syntax, for now, I need
to reform a string var, find out the newline char ( "\r\n" ) and
replace it with specify no. of Space char ( " " ), in order to get the
result string char with 50 * (no.of line) char,
example as blow:
" The group you are posting to is a Usenet group.\r\nMessages posted
to this group\r\nWill make your email address\r\n"
orginal sting change it into
"The group you are posting to is a Usenet group. " +
"Messages posted to this group
" +
"Will make your email
address "
for each line contains exactly 50 char
Thx all for attention,