func From(input string) (IBAN, error) {
	countryCode := input[:2]
	proofNumber := input[2:4]
	bban := input[4:]
	iban, err := New(countryCode, bban)
	if err != nil {
		return "", err
	}
	if proofNumber != iban.ProofNumber() {
		return "", fmt.Errorf("proof number invalid")
	}
	return iban, nil
}
// From creates an IBAN from the provided input. If the input is not a valid IBAN, it
// returns an error.
From creates an IBAN from the provided input. If the input is not a valid IBAN, it
returns an error.
// From creates an IBAN from the provided input . If the input is not a valid IBAN it // returns an error .
func From(input string) (IBAN, error) {
	countryCode := input[:2]
	proofNumber := input[2:4]
	bban := input[4:]
	iban, err := New(countryCode, bban)
	if err != nil {
		return "", err
	}
	if proofNumber != iban.ProofNumber() {
		return "", fmt.Errorf("proof number invalid")
	}
	return iban, nil
}
func From ( input string ) ( IBAN , error ) { countryCode := input [ : 2 ] proofNumber := input [ 2 : 4 ] bban := input [ 4 : ] iban , err := New ( countryCode , bban ) if err != nil { return " " , err } if proofNumber != iban . ProofNumber ( ) { return " " , fmt . Errorf ( " " ) } return iban , nil }
From creates an IBAN from the provided input.
From creates an IBAN from the provided input .