[progress Communities] [progress Openedge Abl] Forum Post: Re: Remove The Last Char Of A...

  • Thread starter Thread starter Matt Gilarde
  • Start date Start date
Status
Not open for further replies.
M

Matt Gilarde

Guest
If you do it by reading the file and writing out the contents without the last character, you should write to a different file and then rename the new file to the original file name. Otherwise you risk losing the original file if something goes wrong. Read contents of original file into CLOB Write contents of file minus one character to tempfile Delete original file Rename tempfile to original file name

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