Wim Stockman wrote in
 <cafjj4fagz1mptayrvztudffik_s_taprfuyc8sidog1auvf...@mail.gmail.com>:
 |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.

Loop over the string and use substring to shorten it by one in
each iteration?  Then use normal comparison for the spliced thing.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to