- 博客(2)
- 收藏
- 关注
原创 字符串类型的数字累加
private static void getNextIndex(char[] chars,int c_index){ char value = chars[c_index]; if(value == ‘9’){ chars[c_index] = ‘0’; if(c_index >= 1){
2017-08-03 16:07:21
2923
转载 emoji表情处理保存到数据库
/** * emoji表情处理用 * * 用于把用utf16编码的字符转换成实体字符,以供后台存储 * @param {string} str 将要转换的字符串,其中含有utf16字符将被自动检出 * @return {string} 转换后的字符串,utf16字符将被转换成&#xxxx;形式的实体字符 */ function utf16toEntities (str) {
2017-08-03 15:55:56
2312
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人