You can use "Result" variables that are predefined in BAS. There are 9 of them.
If you need more you can use filesystem actions and create TXT or CSV files
to store any number you need. Similar to that you can use database for such
tasks too.
How can I get only last 4digit of from a Variable which has 10digits ? Help
-
Hello! Community, Am stuck while trying to make a bot. I was trying to past the last 4digit of a number which i already saved as a veriable name "Phone number" Which has 10 Digits but i want to take the last 4digit! how do i do it?
-
@afridymhamude1 said in How can I get only last 4digit of from a Variable which has 10digits ? Help:
Hello! Community, Am stuck while trying to make a bot. I was trying to past the last 4digit of a number which i already saved as a veriable name "Phone number" Which has 10 Digits but i want to take the last 4digit! how do i do it?
If you want to get the last 4 digits of a 10-digit number, you can do it like this:
[[10_DIGIT]].slice(-4)
