Pretty sure this is a noob question, but in my watch face I want to replace something inside a string. So I just did
mystring = mystring .replace('.', '');
and got
Uncaught Error: Function "substring" not found!
Any ideas why that wouldn't work? Same with substring.
@Hank started 3 years ago
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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.