| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Thimble Smith | Date: | August 22 1999 7:10pm |
| Subject: | Re: trailing comma in delete statement | ||
| View as plain text | |||
At 10:28, 19990822, Jeff Urban wrote: >Can we see the loop? One way to do it is to check and see if you're on >the last item in the list, and if so, don't print the comma. Or, once you've got your final string, you can "get rid of the comma" by replacing it with '\0': ids_string[strlen(ids_string) - 1] = '\0'; Tim
| Thread | ||
|---|---|---|
| • trailing comma in delete statement | Mick Hanna | 22 Aug |
| • Re: trailing comma in delete statement | Mark Maggelet | 22 Aug |
| • Re: trailing comma in delete statement | Jeff Urban | 22 Aug |
| • Re: trailing comma in delete statement | Thimble Smith | 22 Aug |
| • Re: trailing comma in delete statement | Scott Hess | 23 Aug |
| • Re: trailing comma in delete statement | Paul DuBois | 23 Aug |
| • Re: trailing comma in delete statement | Dan Nelson | 23 Aug |
| • Re: trailing comma in delete statement | Michael Widenius | 27 Aug |
| • Re: trailing comma in delete statement | Jesse | 22 Aug |
| • Re: trailing comma in delete statement | Alok K. Dhir | 22 Aug |
| • Re: trailing comma in delete statement | Anthony Mendoza | 23 Aug |
| • Re: trailing comma in delete statement | James Manning | 23 Aug |
| • Re: trailing comma in delete statement | Anthony Mendoza | 23 Aug |
