Android Question Margret'sStringFunction Lib has bug

Theera

Well-Known Member
Licensed User
Longtime User
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.)

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

  • Err_log.png
    Err_log.png
    29.2 KB · Views: 235
Last edited:
Top