src/Support/Str.php
/**
	 * Replace a given value in the string sequentially with an array.
	 *
	 * @param string $search
	 * @param array $replace
	 * @param string $subject
	 * @return string
	 */
Replace a given value in the string sequentially with an array.
@param string $search
@param array $replace
@param string $subject
@return string
Replace a given value in the string sequentially with an array . @param string $search @param array $replace @param string $subject @return string
public static function replaceArray($search, $replace, $subject) {
		foreach ($replace as $value) {
			$subject = static::replaceFirst($search, $value, $subject);
		}
		return $subject;
	}
public static function replaceArray ( $ search , $ replace , $ subject ) { foreach ( $ replace as $ value ) { $ subject = static :: replaceFirst ( $ search , $ value , $ subject ) ; } return $ subject ; }
Replace a given value in the string sequentially with an array.
Replace a given value in the string sequentially with an array .