Android Question How to use $""$

netsistemas

Active Member
Licensed User
Longtime User
In this sample to return a time formated i view this especial sintaxis: $"$2..."$
Where are documentatión about this and how to use?



B4X:
Sub GetTime() As String
    Dim N As Long
    n = DateTime.Now
    Return $"$2{DateTime.GetHour(N)}:$2{DateTime.GetMinute(N)}:$2{DateTime.GetSecond (N)}"$
End Sub
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top