Hi Margret,
I've followed your StringFunction's updated version(the lastest version). I found that iff() has problem using. This my example is belows(I must use If-Else-EndIf instead of it,The previous version,I could use.)
If you have a free times,Please look it for me. Thank you in advance.
P.S. You have delete split2() too ,don't you?
I've followed your StringFunction's updated version(the lastest version). I found that iff() has problem using. This my example is belows(I must use If-Else-EndIf instead of it,The previous version,I could use.)
B4X:
'Dim strline As String = sf.iif(TR.StuffToBe(EditText1.text).Success= True,TR.StuffToBe(EditText1.text).Text,TB.ThaiSplitWord(EditText1.Text))
Dim strline As String
If TR.StuffToBe(EditText1.text).Success= True Then
strline=TR.StuffToBe(EditText1.text).Text
Else
strline=TB.ThaiSplitWord(EditText1.Text)
End If
If you have a free times,Please look it for me. Thank you in advance.
P.S. You have delete split2() too ,don't you?
Attachments
Last edited: