Hi there,
I'm trying to set a minimum chracter value on a string in which I'd like a string to have at least 3 characters. I have thought of the following mutator method:
public void setRefNumber (String ref)
{
refNumber = ref;
}
Does anyone know how I can have at least 3 characters in a string?
Any help or suggestions would be much appreciated.
Thank you in advance


