HTML Templates — php?

前端 未结 4 1514
时光说笑
时光说笑 2021-02-05 23:20

So, I\'m making a site about WWI as a school assignment, and I want this to appear in every document:





    <         


        
4条回答
  •  别跟我提以往
    2020-11-21 02:58

    Arrays.deepToString(arr) only prints on one line.

    int[][] table = new int[2][2];
    

    To actually get a table to print as a two dimensional table, I had to do this:

    System.out.println(Arrays.deepToString(table).replaceAll("],", "]," + System.getProperty("line.separator")));
    

    It seems like the Arrays.deepToString(arr) method should take a separator string, but unfortunately it doesn't.

提交回复
热议问题