M MroBurk Member Licensed User Feb 26, 2022 #1 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 13.4 KB · Views: 348
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 ...
drgottjr Expert Licensed User Longtime User Feb 26, 2022 #2 B4X: Log(stringarray(0).replace("{","")) Upvote 0