khwarizmi Active Member Licensed User Longtime User Jan 18, 2017 #1 Hello all How can I remove the character (") from a string ? for example I have the string (book") I was planning to use (.replace(--,--)) but I could not write the expression.
Hello all How can I remove the character (") from a string ? for example I have the string (book") I was planning to use (.replace(--,--)) but I could not write the expression.
stevel05 Expert Licensed User Longtime User Jan 18, 2017 #2 You can use the constant Quote: B4X: Str.Replace(QUOTE,"") Or a smartstring B4X: S.Replace($"""$,"") Last edited: Jan 18, 2017 Upvote 0
khwarizmi Active Member Licensed User Longtime User Jan 18, 2017 #3 thank you very much This solves the problem. can I solve it with the ASCII Code ? Upvote 0
stevel05 Expert Licensed User Longtime User Jan 18, 2017 #4 Like this you mean? B4X: S.Replace(Chr(34),"") Upvote 0