Android Question String Manipulation?

derez

Expert
Licensed User
Longtime User
For 2 :
B4X:
    Dim st As String = "enableTaskbarTooltip"
    Dim k As Int
    Dim s As String
    Dim newst As String = st.CharAt(0)
    For i = 1 To st.Length - 1
        s = st.CharAt(i)
        k = Asc(s)
        If k>64 And k < 91 And st.CharAt(i-1) <> " " Then
            newst = newst & " " & s
        Else
            newst = newst & s
        End If
    Next
    Log (newst)
 
Last edited:
Upvote 0
Top