This method of the Field class returns the actual length of a Field object's value.
For all fields, the value is read-only.
The getActualSize and getDefinedSize methods are different. A Field object of data type char and a maximum length of 50 characters returns a getDefinedSize value of 50, but the getActualSize value it returns is the length of the data stored in the field for the current record.
public int getActualSize();
Returns the actual length of a Field object's value.