Forum Moderators: open

Message Too Old, No Replies

How to type the null coalescing operator (double-?)

PHP, JavaScript, C#, PowerShell, etc.

         

w3dk

12:47 pm on Jan 1, 2021 (gmt 0)

10+ Year Member Top Contributors Of The Month



How do you type double-? (null coalescing operator) in the forums? The problem is that it gets reduced to a single-?

The same applies to the null coalescing assignment operator double-? followed by "="

I've tried various hacks, but nothing seems to stick for me?

It would seem to be possible as @phranque has been able to edit my posts to correct this. (Or does this require a mod/admin override?)

JorgeV

1:10 pm on Jan 1, 2021 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



Hello,

You can add [ b ] [ /b ] without space, between the two question marks.
??

w3dk

1:22 pm on Jan 1, 2021 (gmt 0)

10+ Year Member Top Contributors Of The Month



Ah, ok, thanks.

phranque

10:05 pm on Jan 1, 2021 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



yes pretty much any bbcode tags surrounding null content should do the trick