code: public static String getData(String dataUrl) {
          int indexOfComma = dataUrl.indexOf(',');
          return dataUrl.substring(indexOfComma + 1);
      }
docs: Gets data embedded in data url.
  @param dataUrl url to extract data from.
  @return data part of URL.