Tag Archives: string

Using implode() to Convert an Array to a String

If you’ve read the last two articles, you know how the explode() function works. The implode() function does just the opposite. It converts an array to a delimiter-separated string. In …

Tags: , , , | Posted under MODX, MODX | Leave a comment

Replacing Strings with an Associative Array (PHP)

In the previous article, we looked at using str_replace with two separate arrays, one for the strings to replace, and one for the replacements. This isn’t always the most convenient …

Tags: , , , , | Posted under MODX, MODX | Leave a comment

How to Update Textpattern Language Strings

Textpattern CMS is an open source content management system. It’s actively supported by a team of developers and a helpful user community. As the software is improved and enhanced, changes …

Tags: , , , , , , , , , , , , , | Posted under Textpattern | Leave a comment