Hi Frederick,
re:
> So I'm guessing to use slice (and others things like it) I need to use something like xxx.slice
> where xxx is where slice "lives"?
Yes, that's correct. The xxx should be a string object, like this:
var str = 'STL_Test';
// str is a string that contains 'STL_Test'
var str2 = str.slice( 4 );
// str2 contains a chunk of the original string starting at index 4 and through to the end so it contains 'Test'
moi.ui.alert( str2 );
If you're stuck please post your modified ExportParts.js file.
- Michael
|