how to split a string by lenght in javascript code example Example: how to split a string in javascript strName.split(); // My code