Here you can find the source of takeOutFirstChar(String input)
public static String takeOutFirstChar(String input)
//package com.java2s; public class Main { public static String takeOutFirstChar(String input) { if (input.charAt(0) == '#') { String re = input.substring(1, input.length()); return re; }/*from w w w. java 2 s. c o m*/ return input; } }