thanks Ashley,
the problem is more that my code is probably not making any sense as I do not know how to access other parts. what I'm doing is as following
function stringSplit(){
var x = inputString.value.toLowerCase();
CommandArray = x.split(' ');
}
inputstring is a global string. CommandArray is an Array object. and I'm activating this script in block ( which as I just thought of won't even call the code as of now)
but I might have been looking for answers in the wrong spot, as I was trying to search through the How do I?.. forum