×

Loading...

use Regular Expression, here is VB code, you can easily find some libary on the net

interview (intervieweree)
Dim a As RegExp
Set a = New RegExp

a.Global = True
a.Pattern = "\\\\"
s = "abc\\\\|def|gh\\\\\\\\\\\|ij\\kl\\\\\m"
b = a.Replace(s, Chr(7))


a.Pattern = "([^\\])\|"
b = a.Replace(b, "$1 ")
a.Pattern = "\\\|"
b = a.Replace(b, "|")

a.Pattern = "\\(\w)"
b = a.Replace(b, "$1")

a.Pattern = Chr(7)
b = a.Replace(b, "\")
(#368402@0)
2002-2-14 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: Java TEST!!

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论