protected static function switchOffsetCol($class)
{
// todo: why would you want to do this
if (strpos($class, 'offset') !== false) {
return str_replace('-offset', '', $class);
} else {
preg_match('/^(col-.*-)([0-9]*)$/', $class, $matches);
return $matches[1] . 'offset-' . $matches[2];
}
}