Bash String Functions Substring Javascript Example Interview