Beta Help me ! String how to replace " ?

chjk

Member
Licensed User
Longtime User
Help me ! String how to replace " ?

B4X:
sub test(s as string) as string
    return s.replace(""")
end sub

Thanks very much!
 

Douglas Farias

Expert
Licensed User
Longtime User
Hi man you can use

B4X:
Dim i As Int
i = Bit.ParseInt("22", 16)
Log(Chr(i))

Log(Chr(i)) = "

or with byteconverter lib

B4X:
  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

chjk

Member
Licensed User
Longtime User
Douglas Farias, LucaMs, eps thank you very much!
s = s.Replace(QUOTE, "") is good!
 
Upvote 0
Top