function insertLine(arr, current, begin) {
        arr.push(breakChar);
        return current + (begin ? 1 : -1);
    }
Created with JetBrains PhpStorm.
User: campaign
Date: 10/8/13
Time: 6:15 PM
To change this template use File | Settings | File Templates.