#instance

  • 9 {{ upvoteCount | shortNum }}

    PHP remove everything after the last instance of a string

    hometutor in Programming

    I did the first instance with preg_replace, tried to loop it with while but it timed out even with a break escape. Any ideas? Rick