Android HTML Element Create makeHtmlSpace(int number)

Here you can find the source of makeHtmlSpace(int number)

Description

make Html Space

Declaration

public static String makeHtmlSpace(int number) 

Method Source Code

//package com.java2s;

public class Main {
    public static String makeHtmlSpace(int number) {
        final String space = " ";
        StringBuilder result = new StringBuilder();
        for (int i = 0; i < number; i++) {
            result.append(space);/* w  ww .  j  a  v  a  2  s  . c o m*/
        }
        return result.toString();
    }
}

Related

  1. createHtmlLink(String title, String url)
  2. makeHtmlNewLine()