去除String前后字符

int n = userId.length();
userId = userId.substring(1, n-1);

posted @ 2017-08-20 10:25  jean1  阅读(1323)  评论(0编辑  收藏  举报