Public Shared
Function delEnterCharForPrint2(
ByVal
strValue As
String) As
String
Dim strReturn As
String = strValue
strReturn = strReturn.
Replace(
Chr(
39).ToString,
"'+ String.fromCharCode(39) +'")
strReturn = strReturn.
Replace(
Chr(
10).ToString,
"'+ String.fromCharCode(10) +'")
strReturn = strReturn.
Replace(
Chr(
13).ToString,
"'+ String.fromCharCode(13) +'")
strReturn = strReturn.
Replace(
Chr(
92).ToString,
"'+ String.fromCharCode(92) +'")
Return strReturn
End Function
转载请注明原文地址: https://ju.6miu.com/read-5218.html