[progress Communities] [progress Openedge Abl] Forum Post: Re: String Manipulation

  • Thread starter Thread starter Patrick Tingen
  • Start date Start date
Status
Not open for further replies.
P

Patrick Tingen

Guest
There is also the OVERLAY command. Depending on what you want to do, you can use either SUBSTRING or OVERLAY: DEFINE VARIABLE cBase-1 AS CHARACTER NO-UNDO INIT 'Hello World'. DEFINE VARIABLE cBase-2 AS CHARACTER NO-UNDO INIT 'Hello World'. SUBSTRING(cBase-1,7,0) = 'great '. OVERLAY(cBase-1,7,0) = 'great '. MESSAGE cBase-1 SKIP cBase-2 VIEW-AS ALERT-BOX INFO BUTTONS OK.

Continue reading...
 
Status
Not open for further replies.
Back
Top