Here you can find the source of substringAfterFirstIndex(String value)
Parameter | Description |
---|---|
value | The string to be split. |
public static String substringAfterFirstIndex(String value)
//package com.java2s; //License from project: Open Source License public class Main { /**/*from w w w .ja v a 2 s . c o m*/ * Omits the first character and returns the remaining string. * * @param value The string to be split. * @return The extracted string. */ public static String substringAfterFirstIndex(String value) { if (null == value || value.isEmpty()) { return ""; } return value.substring(1); } }