I have an two dimension array that contains strings and want to create a LaTeX table with them. The problem is that they could be longer and there has to be line breakes after 15 characters. The
Say it's a 2x2 array with contains {{"String11.......String11", "String21"}, {"String12.......String12.......String12.......", "String22......String22......"}} then the result should look like:
\begin{tabular}{cc}
String11.......& String21//
String11 &//
\hline
String12.......&String22......//
String12.......&String22......//
String12.......&
\end{tabular}
Is there a smart way to do such conversion in Java?