B4J Question CRLF Strangeness - JakeBullet70    
Sep 23, 2015:\source\b4a_libs").Append(CRLF)
baseGIT.Append($"git fetch -v --progress "origin" master"$).Append(CRLF)
baseGIT.Append("CD " & "C:\source\b4a_shared_mods").Append(CRLF)
baseGIT.Append($"git fetch -v --progress "origin" master"$).Append(CRLF)
baseGIT.Append("CD " & mProjectFolder).Append(CRLF)
baseGIT.Append...
link: 't like a constant named CRLF to be something else.
What next? A "/" operator...
B4J Question msgbox2 cuts text with ... using two CRLF's - KMatle    
Jan 17, 2024 following CRLF's. Is this a bug?
fx.Msgbox2(InvoicesForm,"Testtext asfjafja afajfaj... afjsjf afjjajf CRLF" & CRLF & CRLF & "Second line","Test"...
link: Looks fine here, with JDK 19:
149812
The layout is managed by JavaFX....
link: I am using jdk-11.0.1. and B4J 10.00 (64 bit)....
link: Thanks for trying, Paul. Which jdk do you use? I use jdk-14.0.1. When removing the 2nd CRLF...
Bug? [IDE] Can't use CRLF at the start of a Log? - MikeH    
Aug 15, 2022132564
As per title
p.s. The line number is purely coincidental ?...
link: I normally use a blank space
Log(" ")...
B4A Question Saving Default String Data Containing CRLF - RichardN    
Jan 31, 2022 contains CRLF because the line are divided up and added as individual list elements. So I gave KVS a try only to discover exactly the same thing happens. I also tried String.Replace(CRLF,"|"...
link: the displayed text. It recognises CRLF as a line end....
link: Hi guys,
CRLF didn't work!
Today I was working on Andrew Graham's PageTurner example app...
link: Too much screen time yesterday!
KVS works fine after some familiarisation. The KVS library situati...
B4J Question Append CRLF to Buffer - Declan    
Nov 8, 2021/android/forum/threads/jserial-library.34762/#content
How do I append a CRLF to the Buffer?
I send...
link: Many thanks, works perfectly...
link: Best solution is to use B4RSerializator + AsyncStreams in prefix mode: https://www.b4x.com/android/f...
link: Thanks, works.
However, I get the data as follows:
0
1
F
B
9
9
8
C
I should receive:
01FB998C...
Bug? B4XCanvas - Difference B4J Recognizes CRLFs, B4A does not - MrKim    
May 16, 2021B4A treats them as a space.. Haven't checked B4i.
B4j Also correctly measures the height....
link: This is not a bug. B4XCanvas provides a cross platform API above the native API. Android Canvas.DrawText doesn't support multiline text.
You can use this code to create a bitmap with multiline te...
B4A Question Split string to array (by CRLF) [Solved] - trepdas    
Jan 25, 2021   
(1 reaction)Hello good people,
I have a long string with crlf already inside the string (string1&CRLF&string2&CRLF&string3 etc)
how would I split it into an array ?
in vb6 - buffer()=split...
link:
Dim buffer() As String = Regex.Split(CRLF, bigstring)
In my case, working with drag and drop...
link: Thank you !!!
also for the fast reply
?...
link: Dim buffer() As String = Regex.Split(CRLF, bigstring)...
B4A Question NB6 - using CRLF not recognized when building ContentText - Erel (first post)    
Aug 12, 2025
I just noticed on the notification on my tablet, that there is a little v character next to the title. If I touch on that, it expands down the notification content to display each line separately as expected. It seems the initial content ignores any CRLF and displays all content on one line - very disappointing.
This is the OS behavior.
Worth trying with BigTextStyle. Maybe it will look better....
link: as expected. It seems the initial content ignores any CRLF and displays all content on one line - very...
B4J Code Snippet [B4X] Solving encoding issues with html mails sent with SMTP (Net library) - Erel    
Sep 10, 2026   
(12 reactions)Encoding the html text with base64 avoids encoding issues, especially with MS Outlook.
This code is compatible with B4A and B4J:
Private Sub SplitBase64WithCRLF (EncodedText As String, LineLength As Int = 76) As String
Dim eol As String = Chr(13) & Chr(10)
Dim sb As StringBuilder
sb.Initialize
For i = 0 To EncodedText.Length - 1 Step LineLength
Dim line As String...)
Next
Return sb.ToString
End Sub
Dim su As StringUtils
smtp.Body = SplitBase64WithCRLF(su...
Bug? CRLF - Maybe a bug, maybe not - Peter Simpson    
Oct 26, 2018Hello Erel,
In B4J when I write to a file and I then use '& CRLF' at the end... lines, it is actually showing LF and not CRLF at the end of each line as I would have expected. Just...
link: CRLF constant will never be removed.
https://www.b4x.com/android/forum/threads/crlf-strangeness...
link: its a misleading constant because it contains 2 control characters in name.
maybe the compiler can w...
link: It is not a bug.
See CRLF
If you want CR AND LF then you need to use something like this
sub...
Page: 1  
2  
3  
4  
5