Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
removing characters from a string variable
I'm wanting to peel the last several characters off a string variable, and I'm looking for a good routine/function what will perform this. Here is the situation....
read a line from a file into a string variable.
the length of the string is variable, and it has several commas on the end of the "usable" data. While the number of commas is variable, at the time that I read the line, the number of commas in the line is known. Does anyone know of a good routine to accomplish this?
Thanks in advance;
0 · ·