当前位置: 技术问答>java相关
请问在数据库里怎么保存text文本框里的换行呢?
来源: 互联网 发布时间:2015-01-06
本文导语: | DataInputStream in = new DataInputStream(new ByteArrayInputStream(str)); String str2 = ""; while((str = in.readLine())!=null) str2 += str;
|
DataInputStream in = new DataInputStream(new ByteArrayInputStream(str));
String str2 = "";
while((str = in.readLine())!=null)
str2 += str;
String str2 = "";
while((str = in.readLine())!=null)
str2 += str;