Bash String Functions Substring Javascript Mdn Array Js W3schools