µ¥ÀÌÅͺ£À̽º ¿¡¼ ÇÑÄ÷³¿¡
»ç°ú,Æ÷µµ,º¹¼þ¾Æ,Å°À§
ÀÌ·¸°Ô µ¥ÀÌÅÍ°¡ µé¾î°¡ÀÖ´ø°ÍÀ»
ÀÚ¹Ù¿¡¼ ¹Þ¾Æµé¿©¼
StringÇü º¯¼ö txt1~4±îÁö
txt1 = »ç°ú
txt2 = Æ÷µµ
txt3 = º¹¼þ¾Æ
txt4 = Å°À§
ÀÌ·±½ÄÀ¸·Î ³Ö±¸ ½Í¾î¿ä
Áï ÄÞ¸¶(,) ¹®ÀÚ¸¦ ã¾Æ¼ ±× ¾ÕÀÇ ¹®ÀÚ¸¦ »Ì¾Æ ³»°í ½ÍÀºµ¥ ¾î¶²¹æ¹ýÀÌ ÀÖ´ÂÁö ¸ð¸£°Ú³×¿ä ¤Ì¤Ì
ù¹ø° ÄÞ¸¶¸¦ ã¾Æ¼ ±× ¾ÕÀÇ ¹®ÀÚ¸¦ ÃßÃâÇÏ°í µÎ¹ø° ÄÞ¸¶¸¦ ã¾Æ ù¹ø° ÄÞ¸¶ µÚ ºÎÅÍ µÎ¹ø° ÄÞ¸¶ ¾Õ±îÁö ¹Þ¾Æ¿À°í...
ÀÌ·±½ÄÀε¥...
¾î¶² ÇÔ¼ö°¡ ÀÖ³ª¿ä?
¹æ¹ýÁ» °¡¸£ÃÄ ÁÖ¼¼¿ä ¤Ì¤Ì | |
|
String[] values = str.split(\",\");