Solved
How to get substring functionality in thingworx javascript services?
Hi,
Please help to achieve sub string functionality in thingworx service.
Is there any snippet available please let us know.
Thanks
Anil Kesana
Hi,
Please help to achieve sub string functionality in thingworx service.
Is there any snippet available please let us know.
Thanks
Anil Kesana
The service editor will allow you to use most javascript functions.
var str = "Hello world!";
var res = str.substring(1, 4);
the result will be "ell"
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.