func GetConfigValue(lines []string, key string, sep string) (string, error) {
	for _, kv := range GetKeyValueArray(lines, sep) {
		if NewString(kv.Key).IsEqualIgnoreCase(key) {
			return kv.String(), nil
		}
	}
	// not found
	return "", fmt.Errorf("not found value for key: %s", key)
}
// GetConfigValue returns config value from lines.
GetConfigValue returns config value from lines.
// GetConfigValue returns config value from lines .
func GetConfigValue(lines []string, key string, sep string) (string, error) {
	for _, kv := range GetKeyValueArray(lines, sep) {
		if NewString(kv.Key).IsEqualIgnoreCase(key) {
			return kv.String(), nil
		}
	}
	return "", fmt.Errorf("not found value for key: %s", key)
}
func GetConfigValue ( lines [ ] string , key string , sep string ) ( string , error ) { for _ , kv := range GetKeyValueArray ( lines , sep ) { if NewString ( kv . Key ) . IsEqualIgnoreCase ( key ) { return kv . String ( ) , nil } } return " " , fmt . Errorf ( " " , key ) }
GetConfigValue returns config value from lines.
GetConfigValue returns config value from lines .
// not found