groff
[Top][All Lists]
Advanced

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

Re: Find a char in string


From: Denis M. Wilson
Subject: Re: Find a char in string
Date: Thu, 24 Jun 2021 11:23:48 +0100

Macros attached.

On Wed, 23 Jun 2021 21:26:23 +0100
"Denis M. Wilson" <dmw@oxytropis.plus.com> wrote:

> 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  
> 
> 


-- 

Attachment: strchr.txt
Description: Text document


reply via email to

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