±Û¾´ÀÌ :±èÇÊÈ£ 1998³â 5¿ù 22ÀÏ 18:43:40
In Reply to: ÀúÀÇ ½Ç¼ö Àä. tmpÀÇ °ªÀº Á¦´ë·Î ... posted by ±è¼öÈ£ on 1998³â 5¿ù 22ÀÏ 16:08:31:
tmp °ªÀ» ÂïÀ» ¶§ ´«¿¡ º¸ÀÌÁö ¾Ê´Â white character (ºó ÄÀ̳ª newline) °¡ ÀÖÀ» ¼ö Àְŵç¿ä.
±×·¯´Ï ´ÙÀ½ ó·³ µð¹ö±ëÇØ º¸¼¼¿ä.
System.out.println(":" + tmp + ":");
System.out.println("length of tmp: " + tmp.length());
System.out.println("length of ONLINE_PRIMARY: " + "ONLINE_PRIMARY".length());
if(tmp.equals( "ONLINE_PRIMARY")) {
a = true;
System.out.println("--Step 1--");
}
else if(tmp.equals("IDLE")) {
a = false;
System.out.println(" ==Step 2==");
}