chjk Member Licensed User Longtime User Jul 31, 2014 #1 Help me ! String how to replace " ? Code: sub test(s as string) as string return s.replace(""") end sub Thanks very much!
Help me ! String how to replace " ? Code: sub test(s as string) as string return s.replace(""") end sub Thanks very much!
Douglas Farias Expert Licensed User Longtime User Jul 31, 2014 #2 Hi man you can use Code: Dim i As Int i = Bit.ParseInt("22", 16) Log(Chr(i)) Log(Chr(i)) = " or with byteconverter lib Code: Dim acento As String Dim bconv As ByteConverter Dim barray(0) As Byte acento = "22" barray = bconv.HexToBytes(acento) acento = bconv.StringFromBytes(barray, "ASCII") Msgbox(acento, "Content") acento = " Here is a list of acents if u need http://gias720.dis.ulpgc.es/Gias/Cursos/Tutorial_html/formtab.htm Upvote 0
Hi man you can use Code: Dim i As Int i = Bit.ParseInt("22", 16) Log(Chr(i)) Log(Chr(i)) = " or with byteconverter lib Code: Dim acento As String Dim bconv As ByteConverter Dim barray(0) As Byte acento = "22" barray = bconv.HexToBytes(acento) acento = bconv.StringFromBytes(barray, "ASCII") Msgbox(acento, "Content") acento = " Here is a list of acents if u need http://gias720.dis.ulpgc.es/Gias/Cursos/Tutorial_html/formtab.htm
LucaMs Expert Licensed User Longtime User Jul 31, 2014 #3 Private Replacement As String = "x" s = s.Replace(Chr(34), Replacement) Upvote 0
chjk Member Licensed User Longtime User Jul 31, 2014 #5 Douglas Farias, LucaMs, eps thank you very much! s = s.Replace(QUOTE, "") is good! Upvote 0