---
product: Chilkat
product_version: 11.7.0
language: asp
language_label: Classic ASP
class: CkString
license: free
deprecated: false
reference_html: https://www.chilkatsoft.com/refdoc/asp_CkStringRef.html
---
# Chilkat CkString — Classic ASP — v11.7.0

> Chilkat 11.7.0 · language=asp · class=CkString
> Other versions: replace `11.7.0` in this URL. Other languages: `https://www.chilkatsoft.com/ai-docs/v/11.7.0/<lang>/classes/CkString.md`.
> Language-wide rules (install, unlock, error model, strings/bytes): `https://www.chilkatsoft.com/ai-docs/v/11.7.0/asp/guide.md`.

## Purpose

The Chilkat string class.

## Object creation, unlocking and error handling

**Object Creation**

```visual-basic
set ckString = Server.CreateObject("Chilkat.CkString")

' ... use ckString ...

set ckString = Nothing
```

Classic ASP creates Chilkat objects with `Server.CreateObject`. The registered Chilkat ActiveX must match the bitness of the IIS application pool: a pool with *Enable 32-Bit Applications* set to True needs the 32-bit ActiveX, otherwise the 64-bit ActiveX. To bind to a specific major version of Chilkat, append the major version number to the ProgID, such as `Server.CreateObject("Chilkat.CkString.11")` for Chilkat v11.\*.\*.

VBScript requires `set` when assigning an object, so the signatures on this page show `set x = obj.Method(...)` for methods that return a Chilkat object; test the result with `Is Nothing`, since a method that fails to return an object returns `Nothing`. A method with no return value is called as a statement without parentheses (`obj.Method arg1, arg2`). Boolean properties, arguments and return values are integers in the ActiveX: pass `1` or `0`, and test success with `= 1`. Byte arrays are Variant arrays and can be sent with `Response.BinaryWrite`. Asynchronous (*\*Async*) methods and event callbacks are not used from Classic ASP.

Call `Global.UnlockBundle` once at the start of the program, before using this or any other Chilkat class. Any string unlocks a fully functional 30-day trial; a purchased unlock code is used in production. See `guide.md` for the exact code in Classic ASP.

How failure is reported depends on the method's return type and is stated in the note under each method below. In every case the diagnostic text is in the `LastErrorText` property of the object whose method was called.

## Member index

| Member | Kind | Signature |
|---|---|---|
| `NumArabic` | property, read-only | `ckString.NumArabic ' Long (read-only)` |
| `NumAscii` | property, read-only | `ckString.NumAscii ' Long (read-only)` |
| `NumCentralEuro` | property, read-only | `ckString.NumCentralEuro ' Long (read-only)` |
| `NumChars` | property, read-only | `ckString.NumChars ' Long (read-only)` |
| `NumChinese` | property, read-only | `ckString.NumChinese ' Long (read-only)` |
| `NumCyrillic` | property, read-only | `ckString.NumCyrillic ' Long (read-only)` |
| `NumGreek` | property, read-only | `ckString.NumGreek ' Long (read-only)` |
| `NumHebrew` | property, read-only | `ckString.NumHebrew ' Long (read-only)` |
| `NumJapanese` | property, read-only | `ckString.NumJapanese ' Long (read-only)` |
| `NumKorean` | property, read-only | `ckString.NumKorean ' Long (read-only)` |
| `NumLatin` | property, read-only | `ckString.NumLatin ' Long (read-only)` |
| `NumThai` | property, read-only | `ckString.NumThai ' Long (read-only)` |
| `SizeAnsi` | property, read-only | `ckString.SizeAnsi ' Long (read-only)` |
| `SizeUtf8` | property, read-only | `ckString.SizeUtf8 ' Long (read-only)` |
| `Str` | property, read/write | `ckString.Str ' String` |
| `AnsiCharAt` | method | `n = ckString.AnsiCharAt(index) ' Long` |
| `Append` | method | `ckString.Append str` |
| `AppendDateRfc3339` | method | `ckString.AppendDateRfc3339 dt` |
| `AppendDateRfc822` | method | `ckString.AppendDateRfc822 dt` |
| `AppendEncoded` | method | `ckString.AppendEncoded str, encoding, charset` |
| `AppendMultibyte` | method | `ckString.AppendMultibyte mbtext, charsetEncoding` |
| `AppendToFile` | method | `success = ckString.AppendToFile(path, charsetEncoding) ' Long (1/0)` |
| `BeginsWith` | method | `success = ckString.BeginsWith(str) ' Long (1/0)` |
| `ChopAfter` | method | `ckString.ChopAfter findStr` |
| `ChopBefore` | method | `ckString.ChopBefore findStr` |
| `Clear` | method | `ckString.Clear` |
| `Contains` | method | `success = ckString.Contains(substr) ' Long (1/0)` |
| `EmitMultibyte` | method | `bytes = ckString.EmitMultibyte(charsetEncoding) ' Variant` |
| `EndsWith` | method | `success = ckString.EndsWith(substr) ' Long (1/0)` |
| `GetEncoded` | method | `str = ckString.GetEncoded(binaryEncoding, charsetEncoding) ' String` |
| `HtmlEntityDecode` | method | `ckString.HtmlEntityDecode` |
| `HtmlEntityEncode` | method | `ckString.HtmlEntityEncode` |
| `LastAnsiChar` | method | `n = ckString.LastAnsiChar() ' Long` |
| `Left` | method | `str = ckString.Left(numChars) ' String` |
| `Length` | method | `n = ckString.Length() ' Long` |
| `LoadFile` | method | `success = ckString.LoadFile(path, charsetEncoding) ' Long (1/0)` |
| `LoadXmlDoc` | method | `ckString.LoadXmlDoc xmlDocumentBytes` |
| `Matches` | method | `success = ckString.Matches(strPattern, caseSensitive) ' Long (1/0)` |
| `Mid` | method | `str = ckString.Mid(index, numChars) ' String` |
| `ParseDateRfc3339` | method | `dt = ckString.ParseDateRfc3339() ' Date` |
| `ParseDateRfc822` | method | `dt = ckString.ParseDateRfc822() ' Date` |
| `Pluralize` | method | `ckString.Pluralize` |
| `Prepend` | method | `ckString.Prepend str` |
| `PunyDecode` | method | `ckString.PunyDecode` |
| `PunyEncode` | method | `ckString.PunyEncode` |
| `RemoveAnsiChar` | method | `ckString.RemoveAnsiChar ch` |
| `ReplaceAll` | method | `ckString.ReplaceAll findStr, replaceStr` |
| `ReplaceAnsiChar` | method | `ckString.ReplaceAnsiChar findCh, replaceCh` |
| `ReplaceFirst` | method | `ckString.ReplaceFirst findStr, replaceStr` |
| `Right` | method | `str = ckString.Right(numChars) ' String` |
| `SaveToFile` | method | `success = ckString.SaveToFile(path, charsetEncoding) ' Long (1/0)` |
| `Shorten` | method | `ckString.Shorten numChars` |
| `StrComp` | method | `n = ckString.StrComp(str, caseSensitive) ' Long` |
| `StripHtml` | method | `ckString.StripHtml` |
| `ToCRLF` | method | `ckString.ToCRLF` |
| `ToLF` | method | `ckString.ToLF` |
| `Trim` | method | `ckString.Trim` |
| `Trim2` | method | `ckString.Trim2` |
| `TrimInside` | method | `ckString.TrimInside` |
| `Unpluralize` | method | `ckString.Unpluralize` |

## Properties

### CkString.NumArabic

`Chilkat 11.7.0 · asp · CkString · NumArabic · property · read-only · since 9.5.0.25`

```visual-basic
ckString.NumArabic  ' Long (read-only)
```

The number of Arabic characters contained in this string.

### CkString.NumAscii

`Chilkat 11.7.0 · asp · CkString · NumAscii · property · read-only · since 9.5.0.25`

```visual-basic
ckString.NumAscii  ' Long (read-only)
```

The number of us-ascii characters contained in this string.

### CkString.NumCentralEuro

`Chilkat 11.7.0 · asp · CkString · NumCentralEuro · property · read-only · since 9.5.0.25`

```visual-basic
ckString.NumCentralEuro  ' Long (read-only)
```

The number of Central European and Eastern European characters found in this string. These are characters specific to Polish, Czech, Slovak, Hungarian, Slovene, Croatian, Serbian (Latin script), Romanian and Albanian.

### CkString.NumChars

`Chilkat 11.7.0 · asp · CkString · NumChars · property · read-only`

```visual-basic
ckString.NumChars  ' Long (read-only)
```

The number of characters in the string.

### CkString.NumChinese

`Chilkat 11.7.0 · asp · CkString · NumChinese · property · read-only · since 9.5.0.25`

```visual-basic
ckString.NumChinese  ' Long (read-only)
```

The number of Chinese characters contained in this string.

### CkString.NumCyrillic

`Chilkat 11.7.0 · asp · CkString · NumCyrillic · property · read-only · since 9.5.0.25`

```visual-basic
ckString.NumCyrillic  ' Long (read-only)
```

The number of Cyrillic characters contained in this string. The Cyrillic alphabet also called azbuka, from the old name of the first two letters) is actually a family of alphabets, subsets of which are used by certain East and South Slavic languages `” Belarusian, Bulgarian, Macedonian, Russian, Rusyn, Serbian and Ukrainian`”as well as many other languages of the former Soviet Union, Asia and Eastern Europe.

### CkString.NumGreek

`Chilkat 11.7.0 · asp · CkString · NumGreek · property · read-only · since 9.5.0.25`

```visual-basic
ckString.NumGreek  ' Long (read-only)
```

The number of Greek characters contained in this string.

### CkString.NumHebrew

`Chilkat 11.7.0 · asp · CkString · NumHebrew · property · read-only · since 9.5.0.25`

```visual-basic
ckString.NumHebrew  ' Long (read-only)
```

The number of Hebrew characters contained in this string.

### CkString.NumJapanese

`Chilkat 11.7.0 · asp · CkString · NumJapanese · property · read-only · since 9.5.0.25`

```visual-basic
ckString.NumJapanese  ' Long (read-only)
```

The number of Japanese characters contained in this string.

### CkString.NumKorean

`Chilkat 11.7.0 · asp · CkString · NumKorean · property · read-only · since 9.5.0.25`

```visual-basic
ckString.NumKorean  ' Long (read-only)
```

The number of Korean characters contained in this string.

### CkString.NumLatin

`Chilkat 11.7.0 · asp · CkString · NumLatin · property · read-only · since 9.5.0.25`

```visual-basic
ckString.NumLatin  ' Long (read-only)
```

The number of Latin characters contained in this string. Latin characters include all major Western European languages, such as German, Spanish, French, Italian, Nordic languages, etc.

**Note:** This is the number of chars that are Latin characters that do not fall in the us-ascii range. In other words, the 8bit Latin chars.

### CkString.NumThai

`Chilkat 11.7.0 · asp · CkString · NumThai · property · read-only · since 9.5.0.25`

```visual-basic
ckString.NumThai  ' Long (read-only)
```

The number of Thai characters contained in this string.

### CkString.SizeAnsi

`Chilkat 11.7.0 · asp · CkString · SizeAnsi · property · read-only`

```visual-basic
ckString.SizeAnsi  ' Long (read-only)
```

The size, in bytes, of the ANSI encoding of the string.

### CkString.SizeUtf8

`Chilkat 11.7.0 · asp · CkString · SizeUtf8 · property · read-only`

```visual-basic
ckString.SizeUtf8  ' Long (read-only)
```

The size, in bytes, of the utf-8 encoding of the string.

### CkString.Str

`Chilkat 11.7.0 · asp · CkString · Str · property · read/write`

```visual-basic
ckString.Str  ' String
```

The string value of this object.

## Methods

### CkString.AnsiCharAt

`Chilkat 11.7.0 · asp · CkString · AnsiCharAt · method`

```visual-basic
n = ckString.AnsiCharAt(index)  ' Long
```

Returns the ASCII value of the Nth char in the string. The 1st char is at index 0.

### CkString.Append

`Chilkat 11.7.0 · asp · CkString · Append · method`

```visual-basic
ckString.Append str
```

The `str` is appended to end of this instance.

### CkString.AppendDateRfc3339

`Chilkat 11.7.0 · asp · CkString · AppendDateRfc3339 · method`

```visual-basic
ckString.AppendDateRfc3339 dt
```

Appends a date/time string in RFC 3339 format to the end of this instance.

### CkString.AppendDateRfc822

`Chilkat 11.7.0 · asp · CkString · AppendDateRfc822 · method`

```visual-basic
ckString.AppendDateRfc822 dt
```

The `dt` is appended in RFC 822 format to the end of this instance.

### CkString.AppendEncoded

`Chilkat 11.7.0 · asp · CkString · AppendEncoded · method`

```visual-basic
ckString.AppendEncoded str, encoding, charset
```

**Full documentation for this method (same in every language):** [Supported Character Encodings](https://www.chilkatsoft.com/ai-docs/v/11.7.0/articles/charsets_supported_by_chilkat.md)

Appends characters from an encoded string. The encoding may be `base64`, `hex`, `url`, or `quoted-printable`. For example, to append `ABC 123` from a URL-encoded string, call:

```
strObj.AppendEncoded(ABC+123,url,iso-8859-1)
```

### CkString.AppendMultibyte

`Chilkat 11.7.0 · asp · CkString · AppendMultibyte · method`

```visual-basic
ckString.AppendMultibyte mbtext, charsetEncoding
```

**Full documentation for this method (same in every language):** [Supported Character Encodings](https://www.chilkatsoft.com/ai-docs/v/11.7.0/articles/charsets_supported_by_chilkat.md)

Appends characters from a byte array. `mbtext` contains the character data. The input bytes are interpreted according to the character encoding specified by `charsetEncoding`.

### CkString.AppendToFile

`Chilkat 11.7.0 · asp · CkString · AppendToFile · method`

```visual-basic
success = ckString.AppendToFile(path, charsetEncoding)  ' Long (1/0)
```

**Full documentation for this method (same in every language):** [Supported Character Encodings](https://www.chilkatsoft.com/ai-docs/v/11.7.0/articles/charsets_supported_by_chilkat.md)

Appends the contents of the string to a file. The string is first converted to the character encoding specified by `charsetEncoding` before being appended to the file.

### CkString.BeginsWith

`Chilkat 11.7.0 · asp · CkString · BeginsWith · method`

```visual-basic
success = ckString.BeginsWith(str)  ' Long (1/0)
```

Returns `1` if the string begins with `str`. Otherwise returns `0`. This method is case sensitive.

### CkString.ChopAfter

`Chilkat 11.7.0 · asp · CkString · ChopAfter · method`

```visual-basic
ckString.ChopAfter findStr
```

Truncates the string after the 1st occurrence of `findStr`. If `findStr` is not present, nothing is truncated.

### CkString.ChopBefore

`Chilkat 11.7.0 · asp · CkString · ChopBefore · method`

```visual-basic
ckString.ChopBefore findStr
```

Truncates the string before the 1st occurrence of `findStr`. If `findStr` is not present, nothing is truncated.

### CkString.Clear

`Chilkat 11.7.0 · asp · CkString · Clear · method`

```visual-basic
ckString.Clear
```

Clears the string. After calling this method, the string contains 0 characters.

### CkString.Contains

`Chilkat 11.7.0 · asp · CkString · Contains · method`

```visual-basic
success = ckString.Contains(substr)  ' Long (1/0)
```

Returns `1` if `substr` is present in the string (case sensitive), otherwise returns `0`.

### CkString.EmitMultibyte

`Chilkat 11.7.0 · asp · CkString · EmitMultibyte · method`

```visual-basic
bytes = ckString.EmitMultibyte(charsetEncoding)  ' Variant
```

**Full documentation for this method (same in every language):** [Supported Character Encodings](https://www.chilkatsoft.com/ai-docs/v/11.7.0/articles/charsets_supported_by_chilkat.md)

Converts the string to a byte array using the character encoding specified by `charsetEncoding`.

Returns a zero-length byte array (as a Variant) on failure.  
An empty array will have a UBound of -1 meaning 0 elements.

### CkString.EndsWith

`Chilkat 11.7.0 · asp · CkString · EndsWith · method`

```visual-basic
success = ckString.EndsWith(substr)  ' Long (1/0)
```

Returns `1` if the string ends with `substr` (case-sensitive). Otherwise returns `0`.

### CkString.GetEncoded

`Chilkat 11.7.0 · asp · CkString · GetEncoded · method`

```visual-basic
str = ckString.GetEncoded(binaryEncoding, charsetEncoding)  ' String
```

**Full documentation for this method (same in every language):** [Supported Character Encodings](https://www.chilkatsoft.com/ai-docs/v/11.7.0/articles/charsets_supported_by_chilkat.md)

Returns the character string in an encoding use the `charsetEncoding` specified. The `binaryEncoding` may be `base64`, `hex`, `url`, or `quoted-printable`. For example:

```
(Visual Basic 6.0)

Dim s As New CkString

s.Str = Ã¨Ã¨Ã¨
Text1.Text = s.GetEncoded(hex, iso-8859-1) & vbCrLf
Text1.Text = Text.Text & s.GetEncoded(hex, utf-8) & vbCrLf
Text1.Text = Text1.Text & s.GetEncoded(hex, unicode)

'Output:
'E8E8E8
'C3A8C3A8C3A8
'E800E800E800
```

Returns `Nothing` on failure

### CkString.HtmlEntityDecode

`Chilkat 11.7.0 · asp · CkString · HtmlEntityDecode · method`

```visual-basic
ckString.HtmlEntityDecode
```

Decodes any HTML entities found in the string.

### CkString.HtmlEntityEncode

`Chilkat 11.7.0 · asp · CkString · HtmlEntityEncode · method`

```visual-basic
ckString.HtmlEntityEncode
```

HTML entity encodes all special characters. (Those characters that might require HTML entity encoding.)

### CkString.LastAnsiChar

`Chilkat 11.7.0 · asp · CkString · LastAnsiChar · method`

```visual-basic
n = ckString.LastAnsiChar()  ' Long
```

Returns the ASCII value of the last character in the string.

### CkString.Left

`Chilkat 11.7.0 · asp · CkString · Left · method`

```visual-basic
str = ckString.Left(numChars)  ' String
```

Returns a string that is the leftmost `numChars` of this instance.

Returns `Nothing` on failure

### CkString.Length

`Chilkat 11.7.0 · asp · CkString · Length · method`

```visual-basic
n = ckString.Length()  ' Long
```

Returns the length, in characters, of the string.

### CkString.LoadFile

`Chilkat 11.7.0 · asp · CkString · LoadFile · method`

```visual-basic
success = ckString.LoadFile(path, charsetEncoding)  ' Long (1/0)
```

**Full documentation for this method (same in every language):** [Supported Character Encodings](https://www.chilkatsoft.com/ai-docs/v/11.7.0/articles/charsets_supported_by_chilkat.md)

Loads an entire text file into the string object. The character encoding of the text file is specified by `charsetEncoding`. This method allows for text files in any charset to be loaded: utf-8, Unicode, Shift_JIS, iso-8859-1, etc.

### CkString.LoadXmlDoc

`Chilkat 11.7.0 · asp · CkString · LoadXmlDoc · method`

```visual-basic
ckString.LoadXmlDoc xmlDocumentBytes
```

Loads an XML document into the CkString. The `xmlDocumentBytes` contains the raw bytes of the XML document. The reason for providing a separate method for loading an XML document is because the charset encoding is usually specified using a `charset` attribute at the beginning of the XML document. The LoadXmlDoc method reads just enough of the XML document to get the charset, and then it knows how to read and interpret the bytes of the entire XML document, so that the bytes of the characters are properly interpeted and loaded into the CkString object.

### CkString.Matches

`Chilkat 11.7.0 · asp · CkString · Matches · method`

```visual-basic
success = ckString.Matches(strPattern, caseSensitive)  ' Long (1/0)
```

Returns `1` if the string matches the `strPattern`, which may contain one or more asterisk wildcard characters. Case-sensitivity is controlled by , where 1 = case sensitive, 0 = case insensitive.

### CkString.Mid

`Chilkat 11.7.0 · asp · CkString · Mid · method`

```visual-basic
str = ckString.Mid(index, numChars)  ' String
```

Same as the VB/VBScript `Mid` function, except that the 1st char is at index 0 (i.e. it is not 1-based). Returns a substring of length `numChars` starting at `index`.

Returns `Nothing` on failure

### CkString.ParseDateRfc3339

`Chilkat 11.7.0 · asp · CkString · ParseDateRfc3339 · method`

```visual-basic
dt = ckString.ParseDateRfc3339()  ' Date
```

Converts the date string (in RFC 3339 format) to a Date type.

### CkString.ParseDateRfc822

`Chilkat 11.7.0 · asp · CkString · ParseDateRfc822 · method`

```visual-basic
dt = ckString.ParseDateRfc822()  ' Date
```

Converts the date string (in RFC 822 format) to a Date type.

### CkString.Pluralize

`Chilkat 11.7.0 · asp · CkString · Pluralize · method`

```visual-basic
ckString.Pluralize
```

Pluralizes an English word.

### CkString.Prepend

`Chilkat 11.7.0 · asp · CkString · Prepend · method`

```visual-basic
ckString.Prepend str
```

Prepends `str` to this instance.

### CkString.PunyDecode

`Chilkat 11.7.0 · asp · CkString · PunyDecode · method · since 9.5.0.52`

```visual-basic
ckString.PunyDecode
```

In-place decodes the string from punycode.

### CkString.PunyEncode

`Chilkat 11.7.0 · asp · CkString · PunyEncode · method · since 9.5.0.52`

```visual-basic
ckString.PunyEncode
```

In-place encodes the string to punycode.

### CkString.RemoveAnsiChar

`Chilkat 11.7.0 · asp · CkString · RemoveAnsiChar · method`

```visual-basic
ckString.RemoveAnsiChar ch
```

Removes all occurrences of `ch` from the string.

### CkString.ReplaceAll

`Chilkat 11.7.0 · asp · CkString · ReplaceAll · method`

```visual-basic
ckString.ReplaceAll findStr, replaceStr
```

Replaces all occurrences of `findStr` with `replaceStr`. (case sensitive)

### CkString.ReplaceAnsiChar

`Chilkat 11.7.0 · asp · CkString · ReplaceAnsiChar · method`

```visual-basic
ckString.ReplaceAnsiChar findCh, replaceCh
```

Replaces all occurrences of `findCh` with `replaceCh`.

### CkString.ReplaceFirst

`Chilkat 11.7.0 · asp · CkString · ReplaceFirst · method`

```visual-basic
ckString.ReplaceFirst findStr, replaceStr
```

Replaces the first occurrence of `findStr` with `replaceStr`. (case sensitive)

### CkString.Right

`Chilkat 11.7.0 · asp · CkString · Right · method`

```visual-basic
str = ckString.Right(numChars)  ' String
```

Returns a string that is the rightmost `numChars` of this instance.

Returns `Nothing` on failure

### CkString.SaveToFile

`Chilkat 11.7.0 · asp · CkString · SaveToFile · method`

```visual-basic
success = ckString.SaveToFile(path, charsetEncoding)  ' Long (1/0)
```

**Full documentation for this method (same in every language):** [Supported Character Encodings](https://www.chilkatsoft.com/ai-docs/v/11.7.0/articles/charsets_supported_by_chilkat.md)

Saves the string to a file, using the character encoding specified by `charsetEncoding`. This method allows for the string to be saved using character encodings such as `utf-8`, `Unicode`, `Shift-JIS`, or anything else...

Returns 1 for success, 0 for failure.

### CkString.Shorten

`Chilkat 11.7.0 · asp · CkString · Shorten · method`

```visual-basic
ckString.Shorten numChars
```

Removes the final `numChars` from the string.

### CkString.StrComp

`Chilkat 11.7.0 · asp · CkString · StrComp · method`

```visual-basic
n = ckString.StrComp(str, caseSensitive)  ' Long
```

Lexicographically compares two strings. Returns 0 if both strings are equal. A value greater than zero indicates that the first character that does not match has a greater value in the caller's string than in `str`; And a value less than zero indicates the opposite.

### CkString.StripHtml

`Chilkat 11.7.0 · asp · CkString · StripHtml · method`

```visual-basic
ckString.StripHtml
```

Strips HTML tags from a string.

### CkString.ToCRLF

`Chilkat 11.7.0 · asp · CkString · ToCRLF · method`

```visual-basic
ckString.ToCRLF
```

Converts all line endings to CRLF.

### CkString.ToLF

`Chilkat 11.7.0 · asp · CkString · ToLF · method`

```visual-basic
ckString.ToLF
```

Converts all line endings to bare-LF (Unix/Linux style).

### CkString.Trim

`Chilkat 11.7.0 · asp · CkString · Trim · method`

```visual-basic
ckString.Trim
```

Trim SPACE and Tab characters from both ends of the string.

### CkString.Trim2

`Chilkat 11.7.0 · asp · CkString · Trim2 · method`

```visual-basic
ckString.Trim2
```

Trim SPACE, Tab, CR, and LF characters from both ends of the string.

### CkString.TrimInside

`Chilkat 11.7.0 · asp · CkString · TrimInside · method`

```visual-basic
ckString.TrimInside
```

Replaces all tabs, CR's, and LF's, with SPACE chars, and removes extra SPACE's so there are no occurrences of more than one SPACE char in a row.

### CkString.Unpluralize

`Chilkat 11.7.0 · asp · CkString · Unpluralize · method`

```visual-basic
ckString.Unpluralize
```

Unpluralizes an English word.

