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: Sun, 27 Jun 2021 06:38:32 +0200

Hi,
I tried out both macros and they work very good. Maybe the groff
maintainers could include these macros to the manual. Because they contain
some nice idiomatic  features.

Kind regards
Wim Stockman

Op do 24 jun. 2021 20:46 schreef Wim Stockman <wim.stockman@gmail.com>:

> Thank you Mr. Wilson.
>
> I ll read the macro this weekend and let you know about my thoughts on it.
>
> Kind regards
> Wim Stockman
>
> Op do 24 jun. 2021 12:24 schreef Denis M. Wilson <dmw@oxytropis.plus.com>:
>
>> 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
>> >
>> >
>>
>>
>> --
>>
>


reply via email to

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