Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AT function returning uncomplete line
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01329408
Message ID:
01329411
Views:
11
This message has been marked as the solution to the initial question of the thread.
Try
lcAddress = ALLTRIM( STREXTRACT(lcInnerText, "Address:", CHR(13),1,2) )
>I am trying to extract address line from a variable (text)
>I am using
>
>c = atcline("Address:", lcInnerText) && get the number of the line
> cl1= mline (lcInnerText,c) && store the line into a variable
>
>= MESSAGEBOX(cl1)
>
>The line in the variable is:
>Address: R ROBERTO SOUZA FEIJO,47 ALVORADA - VILA MARIA
>
>The message box displays only:
>Address: R ROBERTO SOUZA FEIJO,47 ALVORADA - VILA
>
>Is there any clue ?
>
>Thanks
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform