Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Curiosity
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00391058
Message ID:
00391129
Views:
11
Hi Jim,

Reading the Hacker's Guide *suggests that the likely cause is that the lnStartPos is a value greater than the string length.

Good luck,

Jim N

>There is no error event...it runs smoothly, just returns an empty string. The lnStartPos is 2 (I want the stuff between the square brackets).
>
>Additional information: the lcHoldContent is a parameter passed to this method and gets its value in the calling method from a memo field. (I haven't TRIM()'ed it bec. I think that does nothing with a memo field or with a SUBSTR(). Am I wrong?) The variables lnStartPos and lcStringGotten are both declared Local at the top of the routine. I don't know if this information makes a difference.
>
>I am still baffled. I also can't think of a workaround.
>
>Thanks for the input.
>
>Jim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform