i 绝望

依然

Miss Lang

java中split的用法即回顾

package com.b;

public class Cor {

	public static void main(String[] args) {

		String a = "this is my book";
		String[] c = a.split(" ");
		for (int i = 0; i < c.length; i++) {
			System.out.println(c[i]);

		}

	}

}

  

posted on 2013-10-24 00:34  juewang  阅读(151)  评论(0编辑  收藏  举报

绝望依然

Miss Lang