Add note about exporting substr_r for foreach