码迷,mamicode.com
首页 >  
搜索关键字:replace    ( 7027个结果)
Web_javaScript
JavaScript 的使用 第1章 JavaScript起源 1.1 起源 N年前 拨号上网,网速很慢,数据提交到服务器端验证,体验很差 于是,就有人在想:能不能让这些数据在浏览器端验证呢? 20世纪90年代 1995年,由Netscape公司的Brendan Eich,在网景导航者浏览器上首次设 ...
分类:编程语言   时间:2020-01-30 17:14:43    阅读次数:82
1328. Break a Palindrome
Given a palindromic string palindrome, replace exactly one character by any lowercase English letter so that the string becomes the lexicographically ...
分类:其他好文   时间:2020-01-30 09:47:14    阅读次数:94
python re 正则表达式-基础版
import re #正则表达式是用来干什么的?匹配字符串 #首先回顾一下字符串的使用方法。 # s = "hello world" # print(s.find("e")) #查找 # ret = s.replace("ll","xx") # print(ret) # print(s.split( ...
分类:编程语言   时间:2020-01-29 21:25:00    阅读次数:111
1331. Rank Transform of an Array
Given an array of integers arr, replace each element with its rank. The rank represents how large the element is. The rank has the following rules: Ra ...
分类:其他好文   时间:2020-01-29 10:28:22    阅读次数:74
[Leetcode]648.Replace Words
链接: "LeetCode648" 在英语中,有一个叫做?词根(root)的概念,它可以跟着其他一些词组成另一个较长的单词——我们称这个词为?继承词(successor)。例如,词根an,跟随着单词?other(其他),可以形成新的单词?another(另一个)。 现在,给定一个由许多词根组成的词典 ...
分类:其他好文   时间:2020-01-27 20:38:51    阅读次数:85
【leetcode】1328. Break a Palindrome
题目如下: Given a palindromic string palindrome, replace exactly one character by any lowercase English letter so that the string becomes the lexicographi ...
分类:其他好文   时间:2020-01-27 19:23:10    阅读次数:72
【leetcode】1331. Rank Transform of an Array
题目如下: Given an array of integers arr, replace each element with its rank. The rank represents how large the element is. The rank has the following rul ...
分类:其他好文   时间:2020-01-27 19:03:33    阅读次数:71
全选全不选,返回字符串长度,汉字计数为2,获取url中的参数 ,函数防抖,函数节流
/* 全选/全不选 */ function selectAll(objSelect) { if (objSelect.checked == true) { $("input[name='chkId']").attr("checked", true); $("input[name='chkAll']" ...
分类:Web程序   时间:2020-01-27 00:00:24    阅读次数:78
mysql之数据初始化update操作
1.单表的:update user set name = (select name from user where id in (select id from user where name='小苏')); update goods set name = REPLACE(name ,' ','') ...
分类:数据库   时间:2020-01-24 23:47:39    阅读次数:179
字符串使用
# 字符串的使用 # 字符串里的元素:单个字母、字符串取值数字、汉字、单个符号都是一个元素 # len(数据)统计数据长度print(len(s)) # 字符串取值:字符串名[索引值] # 索引从左至右是0、1、2、3....,从右往左是-1、-2、-3.... # s = "hello!" # p ...
分类:其他好文   时间:2020-01-24 17:23:03    阅读次数:75
共7027条   上一页 1 ... 55 56 57 58 59 ... 703 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!