GetColumns Method (Document Object)
Retrieves the number of columns in a CSV mode. If the document is not a CSV mode, this method returns 0. Supported on EmEditor Professional Version 14.7 or later.[JavaScript]
n = document.GetColumns();
[VBScript]
n = document.GetColumns()
Version