|
|
|
ปัญหาการตัดคำด้วย JSP กับ เครื่องหมาย "|" ใน information retrieval ครับ |
|
|
|
|
|
|
|
Code (Java)
str = "one|two|three";
delimiter = "|";
temp = str.split(delimiter);
for(int i =0; i < temp.length ; i++)
{
System.out.println(temp[i]);
}
|
|
|
|
|
Date :
2011-08-17 06:16:43 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ทำได้แล้ว
ขอบคุณมากครับ :)
|
|
|
|
|
Date :
2011-08-17 08:28:14 |
By :
nutt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
อยากเป็นพี่วินจัง ทำได้ทุกภาษาเลยแฮะ
|
|
|
|
|
Date :
2011-08-17 09:58:22 |
By :
Dragons_first |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
พี่ก็ช่วยหาให้แหละครับ ใช่ว่าจะเขียนเป็นครับ แต่มันไม่ต่างกับตัวที่เขียน ๆ อยู่เท่าไหร่ครับ
|
|
|
|
|
Date :
2011-08-17 10:34:05 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 00
|