Wrapped cells in table: Is there a way to get the number of text lines in a given cellHi,
I have similar question as in the post Output JMP table to formatted journal or picture with wrapped cells. The post answers how to display multiple lines in a data table.
One additional issue I have is that the number of text lines varies. In order to set the correct cell height I would need to be able to extract how many lines of text are in each cell. Then I can use the max number of lines to define the cell height.
Is there a way to extract the number of text lines in a cell?
Data TableScriptingRe: Wrapped cells in table: Is there a way to get the number of text lines in a given cellThis seems to be able to return the number of physical lines on my Windows.
nitems(words(:Text,"\!r"))
It may not be portable. Otherwise, try
"\!n"
Re: Wrapped cells in table: Is there a way to get the number of text lines in a given cellCool