Consultor Eletrônico



Kbase P10747: How to examine a character string for a particular value and
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/11/2005
Status: Unverified

SYMPTOM(s):

How to examine a character string for a particular value and if found replace that value.

FIX:

Use REPLACE function like in example.
DEF VAR cString AS CHARACTER.
cString = "12,345,67".
cString = REPLACE( cString, "345", "abc" ).