趋势
点击量
String handling
最近
 
Read More
2018年1月26日

Fast splitting of CString objects

Introduction

Splitting CString objects is mostly easy. But in some special cases, like handling CSV data, the following function can do a good job: it explains how to handle strings that contain the separator itself in the text.

The solution is to ‘escape’ all separators that occur in the text itself and use a splitting function that is aware of this [...]

2
 
Read More
2018年1月26日

Fast and Then Even Faster String Concatenation With JScript

Introduction

Let’s build a scalable string concatenator, and then optimize its performance.

As we all use JavaScript to build dynamic content more and more, concatenating lots of little strings together becomes increasingly common. This can lead to nasty scaling problems; here, I show how to overcome them using simple linked lists.

What is the problem?

myString+='some [...]

1
 
Read More
2018年1月26日

Fast Token Replacement in C#

Download source code – 18.2 KB Introduction

FastReplacer is good for executing many Replace operations on a large string when performance is important.

The main idea is to avoid modifying existing text or allocating new memory every time a string is replaced.

We have designed FastReplacer to help us on a project where we had to generate a large text with a large [...]

2
 
Read More
2018年1月26日

Parsing CSV embedded in double quotes – RFC 4180

Introduction

This is how CSV can be parsed when it is embedded in double quotes.

Background

The article in based on RFC 4180, which states that the standard CSV may contain values separated by comma and embedded in double quotes.

Take a look at the RFC here: http://tools.ietf.org/html/rfc4180.

The Code // Code /// <summary> /// RFC 4180 Comma Seperated Values /// [...]
2
 
Read More
2018年1月26日

CString-clone Using Standard C++

Download source files – 33.5 KB Download demo project – 27.8 KB Introduction

As much as I use and appreciate the Standard C++ Library, I’ve never liked its string template – basic_string<>. At times, it seems the designers went out of their way to make it difficult to use.

On the other hand, I’ve always loved the ease of use of MFC’s [...]

2
分类热度
Dev
Intermediate
C#
Windows
.NET
Visual-Studio
Web开发
桌面开发
ASP.NET
Beginner
Javascript
WinXP
Win2K
.NET2.0
HTML
Architect
VC6
MFC
移动开发
Advanced
第三方产品
Mobile
产品展示
VS2005
.NET1.1
Design
VB
Wiki.ASP.NET articles
Win2003
VS.NET2003
C#3.0
Android
WebForms
企业系统
.NET3.5
开发生命周期
.NET1.0
VS2013
Ajax
XML
VC7
Android
自定义控件
平台,框架&库
网络
Java
ASP.NET 控件
Vista
.NET3.0
Cloud
最新评分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
Copy/Paste For Databound Objects
 
3
A Transparent menu synchronizing system
 
4
Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
 
5
The Drag and Drop interface samples
 
6
Capture Screen to Clipboard including dropdown menu
 
7
Implementing a drag source
 
8
How to fix up the clipboard when it won't work
 
9
Bobril – Integration to Another Web Application
 
10
A generic IDropTarget COM class for dropped text
周最高分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
Copy/Paste For Databound Objects
 
3
A Transparent menu synchronizing system
 
4
Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
 
5
The Drag and Drop interface samples