Many ways: a) Print the comma out at the start of every loop iteration except the first (use a conditional), or b) print it out at the end of every loop iteration except for the last (use a...
Type: Posts; User: copeg
Many ways: a) Print the comma out at the start of every loop iteration except the first (use a conditional), or b) print it out at the end of every loop iteration except for the last (use a...