码迷,mamicode.com
首页 >  
搜索关键字:substring with conca    ( 3920个结果
Minimum Window Substring leetcode
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 complexity O(n). For example, S = "ADOBECODEBANC" T =...
分类:Windows程序   时间:2014-12-08 23:08:30    阅读次数:266
[leetcode]Longest Palindromic Substring
问题描述: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. 基本思想: 本题的navi...
分类:其他好文   时间:2014-12-08 23:04:00    阅读次数:221
Leetcode: Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2014-12-08 21:07:17    阅读次数:128
JQuery 字符串截取
//字符串截取,全小写strObj.substring(startIndex,endIndex);//需要注意大小写strObj.lastIndexOf(String splitObj);//JqueryEasyUI Combobox 取 value 和 text$('#com').combobox...
分类:Web程序   时间:2014-12-08 13:39:01    阅读次数:254
[Leetcode] Palindrome Partitioning II
这是LeetCode上的一道题目,求出对于一个string,至少切多少刀可以让所有的substring都是回文串。原题是 https://oj.leetcode.com/problems/palindrome-partitioning-ii/Given a string s, partition s...
分类:其他好文   时间:2014-12-07 16:24:04    阅读次数:215
数据库存储过程及变量的使用
-定义变量 declare @sum int --变量赋值 set @sum=1 select @sum=3 --变量使用 print @sum declare @string varchar(20) set @string='abcdef' set @string=substring(@strin...
分类:数据库   时间:2014-12-07 14:57:15    阅读次数:311
LeetCode: Palindrome Partitioning II 解题报告
Palindrome Partitioning IIGiven a string s, partition s such that every substring of the partition is a palindrome.Return the minimum cuts needed for ...
分类:其他好文   时间:2014-12-06 22:52:25    阅读次数:291
Longest Substring Without Repeating Characters
题目描述:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating lette...
分类:其他好文   时间:2014-12-05 21:10:24    阅读次数:187
修改列为Identity
/* 为了防止任何可能出现的数据丢失问题,您应该先仔细检查此脚本,然后再在数据库设计器的上下文之外运行此脚本。*/BEGIN TRANSACTIONSET QUOTED_IDENTIFIER ONSET ARITHABORT ONSET NUMERIC_ROUNDABORT OFFSET CONCA...
分类:其他好文   时间:2014-12-05 19:03:58    阅读次数:203
字符串截取
使用 substring()或者slice()函数:split()功能:使用一个指定的分隔符把一个字符串分割存储到数组例子:str=”jpg|bmp|gif|ico|png”;arr=theString.split(”|”);//arr是一个包含字符值”jpg”、”bmp”、”gif”、”ico”和...
分类:其他好文   时间:2014-12-05 18:46:01    阅读次数:177
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!