GetString() public method

public GetString ( int val ) : string
val int
return string
        public static string ExtractString(BinaryTable table, int recordVal, string defaultVal)
        {
            string ret = table.GetString(recordVal);

            if (string.IsNullOrEmpty(ret))
            {
                ret = defaultVal;
            }
            return(ret);
        }