You need to sign in to do that
Don't have an account?
pavan Kumar.v
string type '('+'\''+'Month'+'\''+')'
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??
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??
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,
All Answers
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,
Can you please reference of any websites or blog
where I can learn these concepts!
Can you check the below article by salesforce which shows all the datatypes we have in salesforce.
You can check for string datatype in this.
https://developer.salesforce.com/docs/atlas.en-us.232.0.apexcode.meta/apexcode/langCon_apex_primitives.htm
If this solution helps, Please mark it as best answer.
Thanks,