Support

Account

Home Forums General Issues String Replace in Content Output Field Reply To: String Replace in Content Output Field

  • I think it’ll help you
    try it

    Use str_replace() with fewer elements in replace than find:
    I am just giving an example to you with word of hello world

    <?php
    $find = array(“Hello”,”world”);
    $replace = array(“B”);
    $arr = array(“Hello”,”world”,”!”);
    print_r(str_replace($find,$replace,$arr));
    ?>