Uncaught Error: Function "substring" not found! #4812
Replies: 1 comment
-
Posted at 2022-06-09 by TheLogan I just tried it on the banglejs 2 emulator and it worked fine, I'm pretty new to Espruino myself but 2 things I'd check, is the firmware up to date and can you run it directly in the terminal? Posted at 2022-06-09 by Hank It is actually working in the emulator console. Posted at 2022-06-09 by Hank OK, never mind, I had an array instead of a string in my code. Posted at 2022-06-09 by TheLogan OK, and if you send your code to the emulator, does it work there? Posted at 2022-06-09 by TheLogan Heh, yeah that will certainly confuse the poor thing xD |
Beta Was this translation helpful? Give feedback.
-
Posted at 2022-06-09 by Hank
Pretty sure this is a noob question, but in my watch face I want to replace something inside a string. So I just did
and got
Any ideas why that wouldn't work?
Same with substring.
Beta Was this translation helpful? Give feedback.
All reactions