2 Cents is much appreciated .....
Ill give that some thought ..... this thing is kicking my tail .... just to rusty ... my vb and then try adding thinking in B4A where not everything is the same ... not complaining ... this is an awesome software for sure I am determined to learn it
Anyway, that being said ... I am trying to figure out how to take mulitple lines of text and reformat it ... cause I cant figure out another way to grab that text and retain its format ...
I think I am really getting close now
But alas IM iterating through this wrong or something but it looks right to me
myArr = Regex.Split(CRLF, etLog.Text)
For Each line As String In myArr
If line.Contains(": ") Then
newArr = Regex.Split(" ", line)
Dim tStamp As String = newArr(0)
Dim tsText As String = newArr(1)
rs.Initialize("{R}{T}{Blue}" & tStamp & "{Blue}{T}{R} " & tsText)
rs.Color2(Colors.Blue, "{Blue}")
rs.RelativeSize2(1.5, "{R}")
rs.Typeface2("serif", "{T}")
rsb.Initialize
rsb.Append(rs)
etLog.Text = rsb
Log(line)
End If
Next
I have two lines with text
16:07: Some Text here
16:54: Some more text here
and the Log shows its getting both but when I execute I only see below in EditText
16:54: Some more text here
what is the obvious thing I am missing here