Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt
hiddentrue

Edits a comment with the specified id and text. Returns the comment representation after the edit.

Edits a comment with the specified id and text. Returns the comment representation after the edit.

Return Type

CComment

Examples

Example 1

Edits the comment with id 11801 with the specified text.

...

Code Block
languagejs
CComment ccomment = getCommentById(11801); 
string oldComm = ccomment["text"];
string newComm = oldComm + "\nEditing the comment";
return editComment(11801, newComm);

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "comment_routines" and space = currentSpace ( )
labelsarray_routines