In Scripting, what to put in quotes and what not to put in quotes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2018 11:00 PM
Hi Developers,
While scripting, when to use the quotes and when not to use the quotes? Does Single quotes & Double quotes have different meaning?
Which is right from following?
Eg: current.state=='1' OR current.state==1
current.u_proposed_as_critical== 'true' OR current.u_proposed_as_critical== true
Thanks in advance,
Snehal
- 3,673 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2018 12:28 AM
Hi Snehal,
Please mark this as "Correct Answer" if I have given you a sufficient answer to your question. So that this question will be moved to answered state.
If you are viewing this from the Community inbox you will not see the correct answer button. If so, please review How to Mark Answers Correct From Inbox View.
Thanks,
Saikiran Guduri (NOW)
(Please mark the answer as correct answer/helpful if it helps)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2024 07:35 AM
Always remeber sys_id is always in double quotes in the scripting