Javascript String Array Functions Matlab Software