« Previous Next »

Thread: TextLine delimiter

Last post 04-23-2009 10:22 AM by cci. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 04-20-2009, 8:43 AM

    • cci
    • Not Ranked
    • Joined on 04-11-2009, 10:03 AM
    • Posts 10

    TextLine delimiter

    This may have been answered before, but I haven't found it.  Given a web-page is saved as an .htm file, and your use logparser with Textline input to extract specific lines with certain keywords.  Logparser assumes the .htm has only one line, so I assume Logparser defaults to a CRLF as a line delimiter. It would be nice if there were a delimiter parameter to specify CR  or LF or "<BR>"  but perhaps this could be done with the str_replace() function as part of the query. If so, can someone provide an example syntax.

     TIA  Stan

  • 04-20-2009, 3:52 PM In reply to

    Re: TextLine delimiter

    A HTML page is a single line of text, there are no carriage returns or line feeds required or processed.  In HTML, only tags are processed.  In LogParser's Textline, no HTML tags get processed.

    Probably the only solution is a search/replace routine for the file first.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 04-20-2009, 6:13 PM In reply to

    • cci
    • Not Ranked
    • Joined on 04-11-2009, 10:03 AM
    • Posts 10

    Re: TextLine delimiter

    Then let me re-phrase slightly... can LP recognize CR (chr13) LF (chr10)  or {TAB}  as parseable for text?

  • 04-23-2009, 10:22 AM In reply to

    • cci
    • Not Ranked
    • Joined on 04-11-2009, 10:03 AM
    • Posts 10

    Re: TextLine delimiter

    I thought this was a simple yes/no question.

Page 1 of 1 (4 items)
Microsoft Communities