So I am running a string append statement inside a for loop
String apComment;
apComment = '';
for(Processinstancehistory p:lispros)
{
apComment +=p.Comments;
}
So after this, I get the comments in below way
Comment1nullComment2Comment3
I get a null
in between. Can someone please help how to remove this null