Skip to main content
Participant
March 16, 2008
Question

FIND problem

  • March 16, 2008
  • 2 replies
  • 253 views
Hi, Everyone.

I have really long articles that I want to break up in specific places. I placed the term "EEBREAKHERE" throughout the article - 8 plus times and used it to create paging. When I get to about the 3rd page, it returns a value of '0' for the find statement below. Findstop is the character number of the start of the page. I have the code already working on many articles, but this sometimes happens and I don't know why. I know that there is another (several other) instances of "EEBREAKHERE" in the body of the text after the findstop position, but get this error (it's an error for me b/c I need it to find the placeholder). Any ideas what I'm doing wrong?


#Find("EEBREAKHERE", getlong.descriptionlong, findstop)#>
    This topic has been closed for replies.

    2 replies

    BKBK
    Community Expert
    Community Expert
    March 16, 2008
    FindNoCase() perhaps?


    Inspiring
    March 16, 2008
    My troubleshooting technique would start with outputting the value of findstop. Then I would run another find, but replace the variable with the number 1.