Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Easy way to pluck these characters from memo field?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00679569
Message ID:
00679955
Vues:
18
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform