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   (12 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... 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("... 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... 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... B4A Question Carriage return in text message (SMS) - DonManfred (first post)    Aug 24, 2022   (1 reaction) Try to replace CHR(13) and CHR(10).... 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... B4A Question problem with replace function - DALB (first post)    Jul 23, 2021 replace(chr(233),"e") doesn't work too !... B4A Library [B4X] BCTextEngine / BBCodeView - Text engine + BBCode parser + Rich Text View - William Lancee (first post)    Feb 14, 2020   (2 reactions) accents?) that the master
may want to address.
MyText = MyText.Replace(Chr(160), Chr(32)).Replace(Chr(13), "").Replace(Chr(12), "").Replace(Chr(65297), "").Replace(Chr(10... Page: 1   2   3   4   5   6   7   |