B4A Question Replacing all occurrences of CHR(171) with Double Quotes, CHR(191) with CHR(172) and CHR(172) and with Single Quotes - beelze69 (first post)    Apr 2, 2021 Hi Oparra,
Thanks! Will try this out..... B4A Example Syncing local databases using PHP to access a database on a hosted server - Cliff McKibbin    Dec 17, 2023   (14 reactions) can replace them in the receiving program. The current recoding uses: Single quote=chr(149... from text for writing to sql ' mod to chr 149, 150 1/30/20 cwm S1=S1.replace ("'",Chr(149)) ' single quote S1=S1.Replace (Chr(34), Chr(150)) ' double quote S1=S1.Replace ("&", Chr(151)) ' added 6/8/22 For sync cwm S1=S1.Replace (Chr(10), Chr(152)) ' added 6/8/22 For sync cwm S1=S1.Replace (Chr(13),Chr... B4A Code Snippet Load data from Website and display in a WebView as a Marquee - GMan    Feb 27, 2025   (3 reactions) extractedHtml extractedHtml = extractedHtml.Replace(Chr(34) & Chr(34) & ">","") extractedHtml = extractedHtml.Replace(Chr(34) & "10" & Chr(34) & ">","") extractedHtml = extractedHtml.Replace(Chr(34) & Chr(34) &... = htmlContent.SubString2(startIndex, endIndex) extractedHtml = extractedHtml.Replace("</div>","") extractedHtml = extractedHtml.Replace("<div class=<"... B4J Code Snippet Minify HTML, CSS, JS, RemoveLogs (Minification Subs) - Magma    Jan 14, 2026   (5 reactions) result = result.Replace(CRLF, " ") result = result.Replace(Chr(10), " ") result = result.Replace(Chr(13), " ") result = result.Replace(TAB, " "... ") result = result.Replace(Chr(10), " ") result = result.Replace(Chr(13... = result.Replace(CRLF, "") result = result.Replace(Chr(10), "") result = result.Replace(Chr(13), "") result = result.Replace(TAB, ""... B4J Question [SOLVED] - Javaobject Problem - JWT with RSA256 - hatzisn    Sep 30, 2022   (1 reaction) .ReadString(File.DirAssets, "jwtRS256.key.pub") publicKeyStr = publicKeyStr.replace(Chr(10....ReadString(File.DirAssets, "jwtRS256.key") privateKeyStr = privateKeyStr.replace(Chr(10...).toURI()))); ' ' privateKeyContent = privateKeyContent.replaceAll("\\n", "").replace("-----BEGIN PRIVATE KEY-----", "").replace("....replaceAll("\\n", "").replace("-----BEGIN PUBLIC KEY-----", "... B4J Question Serial Port - asyncStream_NewData - emexes (first post)    Feb 24, 2024 VisibleCodes(S As String) As String Dim Temp As String = S Temp = Temp.Replace(Chr(0), "{NUL}") Temp = Temp.Replace(Chr(8), "{BS}") Temp = Temp.Replace(Chr(9), "{TAB}") Temp = Temp.Replace(Chr(10), "{LF}") Temp = Temp.Replace(Chr(12), "{FF}") Temp = Temp.Replace(Chr(13), "{CR}") Temp = Temp.Replace(Chr(26), "{EOF}") Temp = Temp.Replace(Chr(27), "{ESC}") Temp = Temp.Replace(Chr(127... Spanish [B4J] [Solucionado] Prevenir introduccion del caracter "espacio" mediante la combinacion de "Alt + 255" - emexes (first post)    Jun 8, 2025   (1 reaction) Tal vez intentarlo: '''If New = " " Then 'NO ES ESPACIO... ES ALT + 255 If New.Contains(Chr(255)) Then Log("Cuidado") 'SI ENTRA!! New.Replace(Chr(255), " ") End If ... B4A Question [SOLVED] How to replace this char ---> " <--- - DonManfred (first post)    May 11, 2023   (3 reactions) Text_X = Text_X.Replace(Chr(0x22), "") ;-)... B4J Question [SOLVED] Altered order when generating json from a map - tchart (first post)    Sep 6, 2023   (1 reaction)
Note that in B4X CRLF is in fact the chr(10).
Thanks for pointing this out, I had never noticed this.
I always assumed it was Chr(13) + Chr(10) since the name is CRLF
The reason I usually replace Chr(10) with Chr(13) & Chr(10) is that some versions of Notepad on Windows wont show the new... that it was difficult to update a config file as it was all on one line.
ConfigString = ConfigString.Replace(Chr... B4J Tutorial [NLP] Library or Question? - Erel    Sep 1, 2021   (7 reactions) ("username").Replace(" ", "_")).Append(sep) sb.Append(rs.GetString("title")).Append(sep) sb.Append(rs.GetString("message").Replace(Chr(10), sep).Replace(Chr(13), "")) Return sb.ToString End Sub Interesting points: 1. IIf(counter Mod... Page: 1   2   3   4   5   6   7   |