Class StringUtils
- java.lang.Object
-
- io.github.scarecraw22.utils.string.StringUtils
-
public class StringUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description StringUtils()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull StringgetFirstChar(@NonNull @NotNull("input cannot be null") String input)@NotNull StringgetFirstNChars(@NonNull @NotNull("input cannot be null") String input, int n)@NotNull StringgetLastChar(@NonNull @NotNull("input cannot be null") String input)@NotNull StringgetLastNChars(@NonNull @NotNull("input cannot be null") String input, int n)
-
-
-
Method Detail
-
getFirstNChars
@NotNull public @NotNull String getFirstNChars(@NonNull @NotNull("input cannot be null") @NonNull @NotNull("input cannot be null") String input, int n)
-
getFirstChar
@NotNull public @NotNull String getFirstChar(@NonNull @NotNull("input cannot be null") @NonNull @NotNull("input cannot be null") String input)
-
getLastNChars
@NotNull public @NotNull String getLastNChars(@NonNull @NotNull("input cannot be null") @NonNull @NotNull("input cannot be null") String input, int n)
-
-