Java String Sub String substring(String self, Integer startIndex, Integer endIndex)

Here you can find the source of substring(String self, Integer startIndex, Integer endIndex)

Description

substring

License

Apache License

Declaration

public static String substring(String self, Integer startIndex,
            Integer endIndex) 

Method Source Code

//package com.java2s;
// Licensed under the Apache License, Version 2.0 (the "License");

public class Main {
    public static String substring(String self, Integer startIndex,
            Integer endIndex) {//  ww  w  .  j  av  a  2 s.c  om
        return self.substring(startIndex, endIndex);
    }

    public static String substring(String self, Integer startIndex) {
        return self.substring(startIndex);
    }
}

Related

  1. subString(String s, int length)
  2. substring(String s, int start)
  3. substring(String s, int start, int length)
  4. substring(String s, int start, int stop)
  5. subString(String s, int startIndex, int count)
  6. substring(String source, int beginIndex, int endIndex)
  7. substring(String source, int length, String padding)
  8. substring(String source, int offset, int dataLength)
  9. substring(String source, int size)