段落がある場合は、3等分(文字単位)に分割する必要があります。PHPで段落の文字を3等分して分割する
これは私が必要なもの、私の文字列
$string="this is my long text this is my long text this
is my long text this is my long text
this is my long text this is my
long text this is my long text this is my long text
this is my long text this is my long text";
では、次のとおりです。3つの部品やパート1で
- イコール文字3部 - 単語または文字列ではない文字)
あなたは自分のソリューションを実装しようとしたことがありますか? –
**スペース**は考慮されるかどうか? –
** chunk_split **を使用してください。 – Dave