I prefer to use Select-Case compare to If-Else but I can't think how to convert the following code:
Is it possible to use Select-Case in this case?
B4X:
If aString.StartsWith("A") Then
Else If aString.StartsWith("B") Then
Else If aString.StartsWith("C") Then
Else If aString.StartsWith("D") Then
Else
End If
Last edited: