https://github.com/kazupon/stringbuffer4vb6
A fast string processing library.
https://github.com/kazupon/stringbuffer4vb6
Last synced: 7 months ago
JSON representation
A fast string processing library.
- Host: GitHub
- URL: https://github.com/kazupon/stringbuffer4vb6
- Owner: kazupon
- License: mit
- Created: 2009-11-05T12:45:51.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2009-11-05T13:04:29.000Z (about 16 years ago)
- Last Synced: 2025-02-06T05:43:04.488Z (11 months ago)
- Homepage:
- Size: 78.1 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.txt
Awesome Lists containing this project
README
= StringBuffer Class
This class provides fast string of charactors.
= Author
kazuya kawaguchi (kawakazu80@gmail.com)
= Installation
1. Download the source repository from 'git@github.com:kazupon/StringBuffer4VB6.git'.
2. Add 'StringBuffer.cls' file on Visual Basic 6 project.
= Usage
Dim objStringBuffer As StringBuffer
Set objStringBuffer = New StringBuffer ' create object
Call objStringBuffer.Append("hello world.") ' append string
Call objStringBuffer.Appends("a", "b", "c") ' apeend strings
Call objStringBuffer.AppendLine("hello world.") ' append string + vbCrLf
Call objStringBuffer.AppendsLine(""a", "b", "c") ' append stirngs + vbCrLf
Dim strMessage As String
strMessage = objStringBuffer.ToString() ' buffered strings to string
Debug.Print strMessage
Call objStringBuffer.Clear ' clear buffered strings