BExIS.IO.Transform.Input.ExcelReader.GetColumnName C# (CSharp) Method

GetColumnName() private static method

Get the cloumn name from a cell
private static GetColumnName ( string cellName ) : string
cellName string Name of the cell
return string
        private static string GetColumnName(string cellName)
        {
            // Create a regular expression to match the column name portion of the cell name.
            Regex regex = new Regex("[A-Za-z]+");
            Match match = regex.Match(cellName);

            return match.Value;
        }