Java tutorial
//package com.java2s; public class Main { public static String jG(String str) { if (str != null) { return str.replace('*', ' ').trim(); } return null; } }