Copy a string: Difference between revisions

Content added Content deleted
(→‎[[Toka]]: Added VB)
No edit summary
Line 215: Line 215:


Be careful with 'is' - use it only when you want to compare the identity of the object. To compare string values, use '=='.
Be careful with 'is' - use it only when you want to compare the identity of the object. To compare string values, use '=='.

==[[Raven]]==
[[Category:Raven]]

Copy string by reference:

'abc' as a
a as b

Copy the string by value:

'abc' as a
a copy as b


==[[Ruby]]==
==[[Ruby]]==