se
    var first_char = temp_string.charAt(0).toUpperCase();
	temp_string = first_char + temp_string.substring(1);
	// Replace all underscores with a space
	temp_string = temp_string.replace(/[_]/g, " ");
	// Get the position of the first space
	var space_location = temp_string.indexOf(" ");
	// Loop until there are no more spaces
    while (space_location != -1) {
        // Get the part up to and including the current space
        left_string = temp_string.slice(0, space_location + 1);
        // Get the