+ 2

How to use ( ' ) in a string ?

5th Jan 2021, 1:29 AM
Yash Thale
Yash Thale - avatar
2 odpowiedzi
+ 9
To use a single quote ' in a string you can escape it with a backslash or use double quotes as the outer quotes for the string. Example: "Use double quotes don't escape" 'Escape don\'t use double quotes'
5th Jan 2021, 1:43 AM
ChaoticDawg
ChaoticDawg - avatar
+ 5
Thankyou very much for the best help !! 😇
5th Jan 2021, 1:46 AM
Yash Thale
Yash Thale - avatar