Android Question Regex.split

Robert_Poland

Member
Licensed User
Hi,
Why is the whole content to be passed on with small letters, but it is sent as a big one, for example * Hello but transfers "hello" I would like to keep up to the letters

B4X:
Sub SI_MessageReceived (From As String, Body As String) As Boolean


 Dim msg As String
msg = Body.ToLowerCase


Dim s(5) As String


s = Regex.Split("\*",msg)
      




If s.length>5 Then

        
  
Text1.Text =  s (7)
       

  
Return True
          
Else 'Add this.
      
 
 

 
 
 
 
Return False 'Add this.
 
  


End If

End Sub
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…