Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AT() but whole word only
Message
From
08/07/2008 10:14:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01328188
Message ID:
01329703
Views:
13
>>In summary, you would have to make special provisions for:
>>
  • Beginning of text
    >>
  • End of text
    >>
  • Beginning of line
    >>
  • End of line
    >>
  • Any relevant punctuation marks
    >>
    >>If you do a replace (chrtran() should work fine in this case) for each and every of those cases (just add a space for the first two), then the search will work.
    >
    >What is so special for the beginning of the text?

    Since there is no CR/LF to replace, you have to add a space instead, as you already did.
    Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
  • Previous
    Next
    Reply
    Map
    View

    Click here to load this message in the networking platform