Saturday, March 24, 2018

Javascript to split ; ServiceNow Script

var str = "172.168.1.1";
var res = str.split(".", 2);
gs.log(res);

https://www.w3schools.com/jsref/jsref_split.asp


No comments:

Post a Comment

Discovery troubleshooting | Error messages

  Discovery troubleshooting | Error messages - Support and Troubleshooting (servicenow.com) Description Learn how to resolve common Discover...