help-flex
[Top][All Lists]
Advanced

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

Re: String separated by Newline


From: John
Subject: Re: String separated by Newline
Date: Tue, 22 Apr 2003 00:00:51 -0400 (EDT)

> In the middle of the jungle, I encounter strings in a format
> like this:
>
>
> ABCDE \n << FGH!
>
> If the delimiter is '!', how do I get ABCDEFGH as one string?
>
> Any ideas?

Flex won't help you with that. You'll have to remember the token ABCDE
and use strcat() to append the FGH token.





reply via email to

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