Topic: 请问如何将'替换为\'? |
Print this page |
1.请问如何将'替换为\'? | Copy to clipboard |
Posted by: chenyajun5 Posted on: 2005-01-08 20:42 replaceAll("'","\'")为何不行? |
2.Re:请问如何将'替换为\'? [Re: chenyajun5] | Copy to clipboard |
Posted by: Sunteya Posted on: 2005-01-08 21:45 用 replaceAll("'", "\\\\'"); 或者 replaceAll("\'", "\\\\\\'"); |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |