2021-09-01から1ヶ月間の記事一覧
PHPで文字数省略(文字列の丸め)したい時に使うmb_sbstr mb_substr( string $string, int $start, ?int $length = null, ?string $encoding = null ): string 抜き出すのにWordpressの関数を使わずいつも >|php|echo mb_sbstr($test, 0 10, 'UTF-8');|| と…
PHPで文字数省略(文字列の丸め)したい時に使うmb_sbstr mb_substr( string $string, int $start, ?int $length = null, ?string $encoding = null ): string 抜き出すのにWordpressの関数を使わずいつも >|php|echo mb_sbstr($test, 0 10, 'UTF-8');|| と…