示例#1
0
 public static function get_punctuation($str)
 {
     $punctuation = SB_PHP::get_last_char($str);
     if (!SB_PHP::is_punctuation($punctuation)) {
         $punctuation = '';
     }
     return $punctuation;
 }