Android String to URL Convert TruncateUrlPage(String strURL)

Here you can find the source of TruncateUrlPage(String strURL)

Description

Truncate Url Page

Declaration

public static String TruncateUrlPage(String strURL) 

Method Source Code

//package com.java2s;

public class Main {

    public static String TruncateUrlPage(String strURL) {
        String strAllParam = null;
        String[] arrSplit = null;

        strURL = strURL.trim().toLowerCase();

        arrSplit = strURL.split("[?]");
        if (strURL.length() > 1) {
            if (arrSplit.length > 1) {
                if (arrSplit[1] != null) {
                    strAllParam = arrSplit[1];
                }/*www  . j av  a 2  s. c  om*/
            }
        }

        return strAllParam;
    }
}

Related

  1. findUrl(StringBuilder sb)
  2. isImageUrl(String imgUrl)
  3. getBaseUrl(String pageUrl)
  4. getYoutubeId(String url)
  5. preUrl(String url)
  6. isValidUrl(String url)
  7. imageUrl_2_ImageName(String imageUrl)
  8. extractUrls(String text)
  9. isUrlValid(String str, boolean isCaseSensitve)