@Bigma So can I ask one more thing? How can I repeat a specific action? For example: If it gets a phone number and fails, I want it to get it again. But I want to solve this with a single loop command instead of adding multiple commands. But of course, if it is successful, I want it to continue the process.
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)
