Task: Remove characters from numbers

21 views
Skip to first unread message

agroti...@gmail.com

unread,
Jul 31, 2019, 3:29:02 AM7/31/19
to Tasker - Developers
Hello,
I m Not a programmer. Just starting to use tasker.

I have a financial accounting program.
When receiving SMS from the bank, it looks like: 
Karta 5.3471 07/08/2019 18:46:28 Retail -497.00 BYN EO 27-1 MINSK BLR OK. Dostupno 1169.42 BYN

In SMS, the transaction amount is indicated with “-” or “+”, depending on the type of operation.
The financial accounting program does not see such SMS, because it is not “trained” to perceive the signs "-/+"

Now I have to manually redirect to myself SMS, removing the sign/

It was ...Retail.- 497 ...., I change to Retail 497

How can this be solved with the task in Tusker?

 My prof.
    Profile: MTSIBANK (19)
    Priority: 0
    Event: Received Text [ Type:Any Sender:MTSIBANK.BY Content:* ]
    Enter: Sms To Mi (4)
    A1: Variable Set [ Name:%text To:%evtprm3 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    A2: Send SMS [ Number:+37412345679 Message:%text Store In Messaging App:Off SIM Card:MTS ]

João Dias

unread,
Aug 1, 2019, 8:01:18 AM8/1/19
to task...@googlegroups.com
Try to use the Variable Search Replace action to remove the unwanted characters :)

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


--
You received this message because you are subscribed to the Google Groups "Tasker - Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taskerdev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/taskerdev/9bc67762-41fc-4769-84f0-6d28958de9b6%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages