package strutil

import (
	
)

// FindFirstEOL returns the index of the first '\n'. When there is no '\n', the
// length of s is returned.
func ( string) int {
	 := strings.IndexRune(, '\n')
	if  == -1 {
		 = len()
	}
	return 
}

// FindLastSOL returns an index just after the last '\n'.
func ( string) int {
	return strings.LastIndex(, "\n") + 1
}