Method IsValid
IsValid(String)
Returns true if the specified strings matches the pattern for a Co-operative Bank customer id.
Declaration
public bool IsValid(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | A string containing the customer id to check. |
Returns
Type | Description |
---|---|
System.Boolean | True if the string matches the pattern for a Co-operative Bank customer id. |
Implements
Remarks
Ensures the value is exactly 7 digits long and starts with a character from 1-9 (inclusive).