JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
metaform: added 'int' type, made preview more blatant, and ran the preview through...
[wfpl.git] / format.php
index 60d0bf0..d5fb32b 100644 (file)
 
 # This file contains basic encodings
 
+function format_int($str) {
+       return ereg_replace('[^0-9]', '', $str);
+}
+
 function format_oneline($str) {
        $str = str_replace("\r", '', $str);
        return str_replace("\n", '', $str);