RESOLVED : See Below
I would like to Set a variable with a portion of text beginnig at
Third line of the entire text. The text is in Tasker's %SMSRB
It is a SMS from an alarm company.
The position also begins after the third "M" (FRM, MSG , and then AM or PM)
Carriage returns 2+ might work
e.g.
FRM:sms@lifeshield.com
MSG: 02/14/2016 9:18 AM
Disarmed by Master User mfracher Set Variable beginnig at "Disarmed....."
I figured out what Variable split really means so
Set Var %ret "to enter"
Set Var %text to %SMSRB
Variable Split using %ret ='s %text breaks out as %text1 %text2 %text3
%text3 contains the third line of the SMS message . That's the one I want.
I would like to Set a variable with a portion of text beginnig at
Third line of the entire text. The text is in Tasker's %SMSRB
It is a SMS from an alarm company.
The position also begins after the third "M" (FRM, MSG , and then AM or PM)
Carriage returns 2+ might work
e.g.
FRM:sms@lifeshield.com
MSG: 02/14/2016 9:18 AM
Disarmed by Master User mfracher Set Variable beginnig at "Disarmed....."
I figured out what Variable split really means so
Set Var %ret "to enter"
Set Var %text to %SMSRB
Variable Split using %ret ='s %text breaks out as %text1 %text2 %text3
%text3 contains the third line of the SMS message . That's the one I want.
Last edited: