Java tutorial
//package com.java2s; //License from project: Apache License public class Main { public static String stripPrefix(String value) { if (value.startsWith("0x")) return value.substring(2); return value; } }