• Resolved okayaelectric

    (@okayaelectric)


    I am attempting to replace a double quotation mark in a record from 365 with a blank space. This is my replace statement in my code:

    {{ product.oea_name|replace({‘.’:’-‘},{‘”‘:”}) }}

    It doesn’t replace the double quotation mark. Could you tell me what I am doing wrong here?

    Thank you.
    Joe

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author alexacrm

    (@alexacrm)

    Hey Joe,

    just excessive curly brackets that’s all:

    {{ product.oea_name|replace({'.':'-','"':''}) }}

    Cheers
    George

    • This reply was modified 6 years, 2 months ago by alexacrm.
    Thread Starter okayaelectric

    (@okayaelectric)

    Hey George-

    Thanks! Can’t believe I missed that!

    -Joe

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Twig — replacing double quote with blank’ is closed to new replies.