Toast a part of a received SMS message?

elpalaban

New member
When I inquire my data balance via SMS, I want the reply to popup a text telling me how much data I have left in a form of "DATA: ###GB", but I couldn't figure out how to select only some part of the message as string/text to display
 
Last edited:

420

Active member
When I inquire my data balance via SMS, I want the reply to popup a text telling me how much data I have left in a form of "DATA: ###GB", but I couldn't figure out how to select only some part of the message as string/text to display
you can do this with text manipulation action, extract text or substring.
 

Dm114

Well-known member
When I inquire my data balance via SMS, I want the reply to popup a text telling me how much data I have left in a form of "DATA: ###GB", but I couldn't figure out how to select only some part of the message as string/text to display
To extract the amount of data you could use a Regex of this form: (Group1) 'DATA: (\d+)GB'
 
Top