截取手机号的前三位与后四位

phone = plus.webview.currentWebview().phone;
        $("#phone").html(phone.substring(0,3)+"****"+phone.substring(phone.length-4));

转载于:https://www.cnblogs.com/fdxjava/articles/11363880.html