I can't remember how to reference a struct key wit...
# cfml-general
r
I can't remember how to reference a struct key with hypens in it. log.["X-Mailgun-Sid"] didn't work.
r
@adam.euans Haha! Thanks Adam. It seems so obvious now. You wouldn't believe how many things I tried.
a
@risto one thing to try is just... googling the most obvious string you can think of. I googled "coldfusion struct key with hyphens" (the "struct key with hyphens" literally came from your question here), and the first result answers your question.
I'd refer to google / stack overflow before I started randomly trying stuff
m
I just ask Adam
🤔 1