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
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…