| ���[�U�t�H�[�����ŋc�_/���� | �}�j���A������ | �n�C���C�g | �n�C���C�g�I�t | �|�[�^�� | php spot |
explode(PHP 4, PHP 5, PHP 7) explode — ���������ɂ�蕪������ ����
array explode
( string
$delimiter
, string $string
[, int $limit = PHP_INT_MAX
] )
������̔z���Ԃ��܂��B���̔z��̊e�v�f�́A
�p�����[�^
�Ԃ�l
��̕����� ("") �� �ύX����
��
��1 explode() �̗�
<?php
��2 explode() �̕Ԃ�l�̗�
<?php ��̗�̏o�͈͂ȉ��ƂȂ�܂��B array(1) ( [0] => string(5) "hello" ) array(2) ( [0] => string(5) "hello" [1] => string(5) "there" ) array(2) ( [0] => string(0) "" [1] => string(0) "" )
��3
<?php ��̗�̏o�͈͂ȉ��ƂȂ�܂��B Array ( [0] => one [1] => two|three|four ) Array ( [0] => one [1] => two [2] => three ) ����
�Q�l
|
�e��}�j���A���F
PHP�}�j���A�� |
PEAR�}�j���A�� |
Smarty(�p��)�}�j���A�� |
PHP-GTK�}�j���A�� |
�uexplode - ���������ɂ�蕪�������v��Google����
|