Skip to main content
Hi all,

Can anyone please explain what they are trying to achieve here 

string str = '('+'\''+'Month'+'\''+')'

what is the outcome of this?

and how can we achieve this and is there any reference to these types of tips??
3 answers
  1. Feb 21, 2022, 1:10 PM
    Hi Pavan Kumar,

    The output of the above string is ('Month') . 

    You can check this with putting system.debug and print the value and check it.

    If this solution helps, Please mark it as best answer.

    Thanks,

     
0/9000