groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Find a char in string


From: Wim Stockman
Subject: Re: Find a char in string
Date: Wed, 23 Jun 2021 23:16:17 +0200

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 <dmw@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.stockman@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
>
>
> --
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]