Skip to content

Instantly share code, notes, and snippets.

@capeterson
Created June 27, 2013 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save capeterson/5879152 to your computer and use it in GitHub Desktop.
Save capeterson/5879152 to your computer and use it in GitHub Desktop.
Iterator<Schema.sObjectField> i = fields.iterator();
while(i.hasNext())
result += i.next() + i.hasNext() ? ',' :'';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment