Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Easy way to pluck these characters from memo field?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00679569
Message ID:
00679955
Views:
20
Thanks Greg and Mark. With your help I was able to get the intended result.

Here's the code that I finally ended up with.
	IF !EMPTY(observe.comment)
		lnLines=ALINES(aLinez,observe.comment)
		lcHoldLines = ""
		FOR i = 1 TO lnLines
			IF LEFTC(aLinez(i),4) <> "--- "
				lcHoldlines = lcHoldlines + ALLT(aLinez(i)) + CHR(13)
			ENDIF
		ENDFOR
		IF !EMPTY(lcHoldlines)
			REPLACE observor.comment WITH lcHoldlines
		ENDIF
	ENDIF
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Previous
Reply
Map
View

Click here to load this message in the networking platform