#region 数据库图片存取
///
/// 导入图片到数据库
///
///
public void Import(string filePath)
{
string fileName = filePath.Substring(filePath.LastIndexOf(...
分类:
数据库 时间:
2015-08-25 23:55:38
阅读次数:
163
Common Substrings
Time Limit: 5000MS
Memory Limit: 65536K
Total Submissions: 8471
Accepted: 2798
Description
A substring of a string T is defined as:
T(i, k)=TiTi+...
分类:
编程语言 时间:
2015-08-25 21:57:13
阅读次数:
172
Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. For example, the...
分类:
其他好文 时间:
2015-08-25 20:59:06
阅读次数:
112
package five;
//第五章练习6
public class Six {
public static void main(String[] args) {
String str1=”Java技术学习班20070326”;
System.out.println(str1.substring(9));
String str2=”MLDN JAVA”;...
分类:
编程语言 时间:
2015-08-25 16:55:38
阅读次数:
117
public int LengthOfLongestSubstring(string s) { Queue queue=new Queue(); int max=0; for(int i=0;i<s.Length;i++) { if(queue.Contain...
分类:
其他好文 时间:
2015-08-21 23:14:27
阅读次数:
148
A typical sliding window solution.class Solution { int rec[26]; // for a-z int rec1[26]; // for A-Z int cnt; int &getCnt(char c) ...
分类:
其他好文 时间:
2015-08-21 15:08:55
阅读次数:
146
Problem:https://leetcode.com/problems/substring-with-concatenation-of-all-words/You are given a string,s, and a list of words,words, that are all of t...
分类:
其他好文 时间:
2015-08-21 01:41:06
阅读次数:
173
Substring with Concatenation of All Words
You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a concatenation...
分类:
其他好文 时间:
2015-08-20 19:09:31
阅读次数:
127
在工作中用到的例子:select * FROM [CSGDC.DataETLDB].[dbo].[StrategiesList] where strategy_name like '%基建系统%' and SUBSTRING(strategy_name,charindex('_',strat...
分类:
数据库 时间:
2015-08-20 18:32:34
阅读次数:
132
Java String 的replace 和replaceAll 都是用来替换srcString的subString,但是有些不同的是,replace的参数是字符或者字符串,而replaceAll的参数可以是正则表达式。 public?String?replace?(Char?old...
分类:
编程语言 时间:
2015-08-20 13:30:42
阅读次数:
163