Hello. I'm new in B4A programming. Only 2 days.
I Know a little vb.net programming and now i try to learn B4A.
I have an application (scrabble word finder) in vb.net.
Until now I have convert some code from vb.net to B4A.
I have problem with this Function.
This Function get a word from dictionary text file (as string) and convert it to characters array.
Example: If the word is "HELLO" then set characters to an array by alphabetical order = "EHLLO"
another: word "ANYWHERE" return = AEEHNRWY
Any solution please?
I Know a little vb.net programming and now i try to learn B4A.
I have an application (scrabble word finder) in vb.net.
Until now I have convert some code from vb.net to B4A.
I have problem with this Function.
B4X:
Public Function SortChars(ByVal sumString As String) As String
Dim sortme = sumString.ToList()
sortme.Sort(Function(ca, cb) ca.CompareTo(cb))
Return New String(sortme.ToArray())
End Function
This Function get a word from dictionary text file (as string) and convert it to characters array.
Example: If the word is "HELLO" then set characters to an array by alphabetical order = "EHLLO"
another: word "ANYWHERE" return = AEEHNRWY
Any solution please?