Android Question Delete { from clv

MroBurk

Member
Licensed User
Hi there, I create this List1.set( x , CreateMap (Title : List2) saved in txt file( a list in which there is a map).
I need to show only the Keys (Title) of this map... I tryed with regex.split but It return Keys with "{ Key"... How I can hide or not show "{"?
there are any ways to show in Clv only the Key (Title) of that map? thanks a lot!!!
B4X:
For i = 0 To List1.Size - 1
   
    dim str() as string = List1.Get(i)
    If str <> "0" Then
    dim stringarray () as string = Regex.Split("=",str)
   
    Log(stringarray(0))
   
    the log is:  {key1
                 {key2
                 ...
 

Attachments

  • 1.PNG
    1.PNG
    13.4 KB · Views: 124

drgottjr

Expert
Licensed User
Longtime User
B4X:
Log(stringarray(0).replace("{",""))
 
Upvote 0
Top