## Tags » String

#### The importance of string

I know there is a theoretical model of the nature of matter in the universe called String Theory. This blog is not about that theory. 277 more words

#### Video Post - String Manipulation in C#: String, StringBuilder, String.Join

Hello All,

This is a short video post that I recorded few days back. In this video and I have discussed about available options to use for string manipulation in C#. 37 more words

C# 4.0

#### leetcode – Implement strStr()

KMP算法可以做到O(m+n), 也就是线性。CLRS上的伪代码写得很好很简洁，这里我把它改写成以0开始的版本

```
preprocess(P)
m = P.length
pi is a new array
pi[0] = -1;
k = -1

for q = 0 to m-1
while k>=0 and P != P[q]
k = pi[k];
if P != P[q]
k = k+1;
pi[q] = k
-----------------------------------------

kmp-match(T,P)
n = T.length
m = P.length
pi = preprocess(P)
q = -1
for i=0 to n-1
while q>=0 and P != T[i]
q = pi[q]
if P == T[i]
q = q+1
if q == m-1
i-m+1 is a start from pattern P, can save them all, or stop at the first found
… 164 more words```
Leetcode

### Problem

I wanted to get a better indication of my scripts progression.
This would definitely be an improvement for the scripts that take several minutes (or even hours) to finish.

PowerShell

#### Notepad++ find and replace string with a new-line

Most of the times DBA’s need to edit blocks of PL/SQL or SQL scripts and perform some modifications. Notepad++ is a very powerful and lightweight tool to perform edits. 84 more words

Solaris

#### Guitar Tuning Guide: How To Tune a Guitar

Many beginning guitarists struggle when it comes to tuning the guitar. It’s a major stumbling block for them. Some end up quitting altogether because every time they start to play what comes out doesn’t sound right. 468 more words

Guitar

#### coming soon to my etsy shop

Well a year has flown by and  I am in a quandary over the Etsy dilemma…. so I have tried to produce an item that I can reproduce easily and not have to keep updating with new photos etc… etc …. 52 more words

Textiles