@PaulMeuris , @Erel , @aeric
Doubling $ doesn't work well on smart strings with ${ } constructs
And smart strings don't work without doubling $
Edit: @aeric pointed out that @PaulMeuris already tested that tripling $ for ${ } constructs works: $$${value}
Doubling $ doesn't work well on smart strings with ${ } constructs
And smart strings don't work without doubling $
Edit: @aeric pointed out that @PaulMeuris already tested that tripling $ for ${ } constructs works: $$${value}
B4X:
'Iterate over keys and values
For Each key As Object In $map$.Keys
Dim value As Object = $map$.Get(key)
Dim s as string = $$"The Quick $${value}Brown Fox"$$
$end$
Dim s as string = $$"The Quick $${value}Brown Fox"$$
Next
'Yields
For Each key As Object In map.Keys
Dim value As Object = map.Get(key)
Dim s As String = $"The Quick {value}Brown Fox"$
Dim s As String = $"The Quick {value}Brown Fox"$
Next
Last edited: