I have a cell with special content, say 'x'.
I could find 'x' with string replace
.
But how can I get and save the row- and the column-number of that cell?
With \pgfplotstablerow
and \pgfplotstablecol
?
\documentclass[]{article}
\usepackage{pgfplotstable}
\pgfplotsset{compat=newest}
\pgfplotstableset{string type, col sep=comma, header=false}
\pgfplotstableread[]{
a, b, c
d, e, f
g, x, i
j, k, l
}\mytable
\begin{document}
\pgfplotstabletypeset[
string replace={x}{x
%\pgfkeysgetvalue{\pgfplotstablerow}{\rowno} % works not
%\pgfkeysgetvalue{\pgfplotstablecol}{\colno} % not that easy
}
]{\mytable}
x is in row no. ? and column no. ?
\end{document}
two
numbers?