ȸ¿ø°¡ÀԡžÆÀ̵ð/ºñ¹øÃ£±â
ȨÀ¸·Î


explode - ¹®ÀÚ¿­ ³ª´®
14³â Àü
explode — ¹®ÀÚ¿­À» ¹®ÀÚ¿­·Î ³ª´¯´Ï´Ù



¼³¸í
array explode ( string $delimiter , string $string [, int $limit ] )
delimiter ¹®ÀÚ¿­À» °æ°è·Î ³ª´©¾îÁø string ÀÇ ºÎºÐ ¹®ÀÚ¿­·Î ÀÌ·ç¾îÁö´Â ¹è¿­À» ¹ÝȯÇÕ´Ï´Ù.

Àμö

delimiter : °æ°è ¹®ÀÚ¿­.
string : ÀÔ·Â ¹®ÀÚ¿­.


limit
limit ¸¦ ÁöÁ¤Çϸé, ¹ÝȯÇÏ´Â ¹è¿­Àº ÃÖ´ë limit °³ÀÇ ¿ø¼Ò¸¦ °¡Áö°í, ¸¶Áö¸· ¿ø¼Ò´Â ³²Àº string ¸ðµÎ¸¦ Æ÷ÇÔÇÕ´Ï´Ù.

limit Àμö°¡ À½¼öÀ̸é, ¸¶Áö¸· -limit ¸¦ Á¦¿ÜÇÑ ¸ðµç ±¸¼º¿ä¼Ò¸¦ ¹ÝȯÇÕ´Ï´Ù.


implode()´Â °ü½ÀÀ¸·Î ÀÎÇØ ÀμöÀÇ ¼ø¼­¸¦ ¹Ù²Ü ¼ö ÀÖÁö¸¸, explode()´Â ¹Ù²Ü ¼ö ¾ø½À´Ï´Ù.
¹Ýµå½Ã delimiter Àμö°¡ string Àμö ¾Õ¿¡ À§Ä¡ÇØ¾ß ÇÕ´Ï´Ù.

=============================================================================
list($wr_email2, $wr_email1) = explode("@", $email);

$ex2_filed = explode("|",$write[wr_2]);
$ext2_00  = $ex2_filed[0];
$ext2_01  = $ex2_filed[1];
$ext2_02  = $ex2_filed[2];
$ext2_03  = $ex2_filed[3];
$ext2_04  = $ex2_filed[4];
$ext2_05  = $ex2_filed[5];
$ext2_06  = $ex2_filed[6];
$ext2_07  = $ex2_filed[7];
$ext2_08  = $ex2_filed[8];
$ext2_09  = $ex2_filed[9];
=============================================================================




http://docs.php.net/manual/kr/function.explode.php [114]
ÃßõÃßõ : 335 Ãßõ ¸ñ·Ï
¹øÈ£ Á¦¸ñ
1,451
preg_match_all — Àü¿ª Á¤±Ô Ç¥Çö½Ä ¸ÅÄ¡¸¦ ¼öÇà
1,450
preg_match — Á¤±ÔÇ¥Çö½Ä ¸ÅÄ¡¸¦ ¼öÇà
1,449
preg_grep — ÆÐÅÏ ¸ÅÄ¡ÇÑ ºÎºÐÀÇ ¹è¿­À» ¹Ýȯ
1,448
iconv_set_encoding - ÇöÀçÀÇ ¹®ÀÚ ÀÎÄÚµùÀ» ¼³Á¤
1,447
ini_get - php.ini¿¡ ÁöÁ¤µÇ¾î ÀÖ´Â Áö½Ã¾îÀÇ °ªÀ» Àоî¿Â´Ù
1,446
is_array — º¯¼ö°¡ ¹è¿­ÀÎÁö È®ÀÎ
1,445
basename — Returns filename component of path
1,444
trim — Strip whitespace (or other characters) from the beginning and end of a string
1,443
set_time_limit — ÃÖ´ë ½ÇÇà ½Ã°£À» Á¦ÇÑ
1,442
mysql_affected_rows — ÃÖ±Ù MySQL ÀÛ¾÷À¸·Î º¯°æµÈ Çà °³¼ö¸¦ ¾òÀ½
1,441
parse_ini_file — Parse a configuration file
1,440
mysql_result — °á°ú µ¥ÀÌÅ͸¦ ¹Ýȯ
1,439
strpos — ¹®ÀÚ¿­ÀÌ Ã³À½ ³ªÅ¸³ª´Â À§Ä¡¸¦ ã½À´Ï´Ù
1,438
Encode email
1,437
function_exists — Return TRUE if the given function has been defined
1,436
crypt — ´Ü¹æÇâ ¹®ÀÚ¿­ ¾Ïȣȭ
1,435
usleep - ÁÖ¾îÁø ¸¶ÀÌÅ©·Î Ãʸ¸Å­ ½ÇÇàÀ» Áö¿¬
1,434
sprintf — Çü½ÄÈ­ÇÑ ¹®ÀÚ¿­À» ¹Ýȯ
1,433
array_merge — Çϳª ÀÌ»óÀÇ ¹è¿­À» º´ÇÕ
1,432
checkdate — ±×·¹°í¸®·Â ³¯Â¥¸¦ È®ÀÎÇÕ´Ï´Ù
1,431
file_get_contents
1,430
mysql_insert_id
1,429
implode — ¹®ÀÚ¿­·Î ¹è¿­ ¿ø¼Ò¸¦ °áÇÕ
1,428
stripcslashes — addcslashes()·Î ÀοëÇÑ ¹®ÀÚ¿­À» µÇµ¹¸²
1,427
stripslashes — µû¿ÈÇ¥ ó¸®ÇÑ ¹®ÀÚ¿­À» DZ´Ï´Ù
1,426
addslashes — ¹®ÀÚ¿­À» ½½·¡½Ã·Î Àοë
1,425
mysql_fetch_assoc - ¿¬°ü ¹è¿­·Î °á°ú ÇàÀ» ¹Ýȯ
1,424
array_pop — ¹è¿­ÀÇ ¸¶Áö¸· ¿ø¼Ò »©³»±â
1,423
in_array — °ªÀÌ ¹è¿­ ¾È¿¡ Á¸ÀçÇÏ´ÂÁö È®ÀÎ
1,422
ÆÄÀÏ È®ÀåÀÚ ºñ±³
¸ñ·Ï
¹ÂÁ÷Æ®·ÎÆ® ºÎ»ê±¤¿ª½Ã ºÎ»êÁø±¸ °¡¾ßµ¿ ¤Ó °³ÀÎÁ¤º¸Ãë±Þ¹æÄ§
Copyright ¨Ï musictrot All rights reserved.