描述 | 处理框 | 结果框 | 操作 |
---|---|---|---|
统计字数 | 作者happy在2022年11月17日 15:59:57填写了本文案 |
中文:12 个;
中文标点:0 个; 汉字+标点:12 个; 英文:22 个(含英文状态下的数字、符号、标点); 数字:14 个; 总字数:34 个; 字符总数:46 个; 字符容量:0.044921875 KB; |
|
JSON格式化 | {name:"happy",sex:"未知"} |
{
name : "happy", sex:"未知" } |
|
URL编码解码 | name=happy&sex=未知 | name%3Dhappy%26sex%3D%E6%9C%AA%E7%9F%A5 | |
ASCLL编码解码 | 中国 | 中国 | |
Unicode编码解码 | 中国 | \u4e2d\u56fd | |
md5加密 | 123 | 202cb962ac59075b964b07152d234b70 | |
base64加解密 | 中国 | 5Lit5Zu9 | |
CSS横向布局 |
.title{
font-size:12px; } |
.title {font-size:12px;} | |
CSS纵向布局 |
.title{
font-size:12px; } |
.title {
font-size:12px; } |
|
CSS提取content |
.icon-face:before {content: "\f101"}
.icon-face-smile:before {content: "\f100"} |
<i class="icon icon-face"></i>
<i class="icon icon-face"></i> |
|
CSS提取content的类 |
.icon-face:before {content: "\f101"}
.icon-face-smile:before {content: "\f100"} |
.icon-face:before ,
.icon-face-smile:before , |
|
转日志 | name,sex,age |
---JavaScript:--------->
console.log("name="+name+";sex="+sex+";age="+age); ---JSP:---------> out.println("name="+name+";sex="+sex+";age="+age); ---Java:---------> System.out.println("name="+name+";sex="+sex+";age="+age); |
|
转if-else | 0,未收款;1,已收款 |
---JavaScript:--------->
function showStatus(val){ if(val==0) return '未收款'; if(val==1) return '已收款'; return '-'; } ---Java:---------> String myTitle; int myValue = 0; if(myValue==0){ myTitle="未收款";} if(myValue==1){ myTitle="已收款";} System.out.println("title=" + myTitle + ";value=" + myValue); |
|
转select | 0,未收款;1,已收款 |
<select class="" name="">
<option value="0">未收款</option> <option value="1">已收款</option> </select> |
|
日期<>时间戳 |
2022-11-16 17:43:21
2022/11/16 17:43:27 1668591825326 1668591825 |
1668591825326
1668591825326 2022-11-16 17:43:21 2022-11-16 17:43:45 |
|
数字大小写/转金额 | 8080 |
8,080
捌仟零捌拾元整 |