Would be great thx. I was already looking at a solution with the .sy macro to invoke an awk oneliner. But I d rather do it all in groff. Kind regards, Wim Stockman
Op wo 23 jun. 2021 22:26 schreef Denis M. Wilson <d...@oxytropis.plus.com>: > I have macros corresponding to Cs strchr and strrchr functions. > Do you want me to pass them on? > > Denis > > On Wed, 23 Jun 2021 21:48:48 +0200 > Wim Stockman <wim.stock...@gmail.com> wrote: > > > Is there a function in groff to find the position of a char in a > > string. So I can split a string into more than one. > > I found the substring function that can cut based on length. If I > > could my marker in the string I could cut it there. > > > > Kind regards, > > Wim Stockman > > > -- > >