chunk_split — 将字符串分割成小块

 

说明

chunk_split ( string $body [, int $chunklen = 76 [, string $end = " " ]] ) : string

使用此函数将字符串分割成小块非常有用。例如将 base64_encode() 的输出转换成符合 RFC 2045 语义的字符串。它会在每 chunklen 个字符后边插入 end大理石机械构件维修厂家

参数

 

body

要分割的字符。

chunklen

分割的尺寸。

end

行尾序列符号。

返回值

返回分割后的字符。 

原文地址:https://www.cnblogs.com/furuihua/p/12923783.html