The MAP.GET() returns my string as an object. Now I want to trim the string, but how to cast an object to string?
is there a way to do this in B4X?
B4X:
'this is easy:
Dim word as String = MyPropery.Get("Name")
word = word.Trim
'but how to cast in one line?
'this will not work:
Dim oneLine as String = MyPropery.Get("Name").Trim
Dim anotherLine as String = String(MyPropery.Get("Name")).Trim
is there a way to do this in B4X?