1

I want to treat nulls as blanks in a section of code. Bootstrap.actionRoot often does not exist.

I want to be able to do something like

body.replacelist("~/", Bootstrap?.actionRoot)

OR

body.replacelist("~/", "#Bootstrap?.actionRoot#")

But it wont work because Bootstrap?.actionRoot is null. Is there a single statement approach to deal with this.

James A Mohler
  • 11,060
  • 15
  • 46
  • 72

0 Answers0