if (Identification.Length == 18)//处理18位的身份证号码从号码中得到生日和性别代码 { string age = Identification.Substring(6, 4) + "-" + Identification.Substring(10, 2) + "-" ...
1 import axios from "axios"; 2 import { Message } from 'element-ui' 3 // 地址 4 // let baseUrl = 'http://' 5 let username = 'sesp1' 6 //加解密开关 7 window.E ...
分类:
移动开发 时间:
2020-08-29 15:30:43
阅读次数:
89
字符串可以说是Java中最具有代表性的类了,似乎没有之一哈,这就好像直播界的李佳琪,脱口秀中的李诞,一等一的大哥地位。不得不承认,最近吐槽大会刷多了,脑子里全是那些段子,写文章都有点不由自主,真的是,手不由己啊。字符串既然最常用,那就意味着面试官好这一口,就喜欢问一些字符串方面的编码技巧,来测试应聘者是否技术过硬,底子扎实,对吧?那这次,我就来盘点12个精致的Java字符串操作小技巧,来帮助大家提
分类:
编程语言 时间:
2020-08-29 15:13:24
阅读次数:
55
SELECT substring_index(substring_index(a.chain,'_',b.help_topic_id + 1 ), '_' ,- 1 ) AS ID FROM (select '1_11_1223_1242' as chain) a JOIN mysql.help_t ...
分类:
数据库 时间:
2020-08-17 16:55:17
阅读次数:
121
Leetcode.76 Minimum Window Substring Given a string S and a string T, find the minimum window in S which will contain all the characters in T in compl ...
分类:
编程语言 时间:
2020-08-11 15:56:40
阅读次数:
64
//获取输入的时间 var yokujitsushimeTm = upddata.yokujitsushimeTm.replace(":", ""); //获得时间小时部分 var yokujitsushimeTmhh = yokujitsushimeTm.substring(0, 2); //获得 ...
分类:
Web程序 时间:
2020-08-11 10:33:53
阅读次数:
99
``````/货币元转换为分*/publicstaticLongformatMoney(Strings){if(s.contains(".")){intindex=s.indexOf(".");Stringsub1=s.substring(0,index);Stringsub2=s.substring(index+1);if(sub2.length()>
分类:
其他好文 时间:
2020-08-05 16:56:47
阅读次数:
81
遇到报错:ValueError: optimizer got an empty parameter list 在pycharm上也是报相同的错误 完整代码: 1 import torch 2 import torch.nn as nn 3 from torch.optim import SGD 4 ...
分类:
其他好文 时间:
2020-08-05 10:41:31
阅读次数:
79
ApplicationInfo appInfo = getApplicationInfo(); int resID = getResources().getIdentifier(substring, "mipmap", appInfo.packageName);// BitmapFactory.de ...
分类:
移动开发 时间:
2020-08-05 10:29:02
阅读次数:
96
package com.sh.springboottdemo2.util; import com.sun.org.apache.xerces.internal.impl.dv.util.Base64; import javax.crypto.Cipher; import javax.crypto.K ...
分类:
编程语言 时间:
2020-08-04 09:44:58
阅读次数:
66