Board Thread:Support Requests - Getting Technical/@comment-1251315-20160128084958/@comment-24473195-20160128092535

You might be confused about either the syntax of splice and slice and split, or about what they do. These articles may help:


 * http://www.w3schools.com/jsref/jsref_splice.asp


 * http://www.w3schools.com/jsref/jsref_slice.aspa


 * http://www.w3schools.com/jsref/jsref_split.asp

"slice." as shown in your code means that you're trying to access a function within the slice object which certainly doesn't exist.

Maybe you wanted to write something like "wgPageName.slice(8)".