cangjie-std-string

Document Cangjie String type construction, manipulation, and conversion methods.

1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/SunriseSummer/CangjieDocValidator --skill cangjie-std-string
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cangjie-std-string
Source: https://github.com/SunriseSummer/CangjieDocValidator/tree/main/.github/skills/string
Command: npx skills add https://github.com/SunriseSummer/CangjieDocValidator --skill cangjie-std-string

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive guide to understanding and utilizing the String type in Cangjie, covering its construction, manipulation, and conversion methods.

Core Features & Use Cases

  • String Construction: Learn various ways to create strings, from literals to byte arrays.
  • Manipulation: Explore methods for searching, replacing, splitting, trimming, and padding strings.
  • Conversion & Encoding: Understand how to convert strings to and from byte arrays and rune arrays, and handle UTF-8 encoding.
  • Use Case: When you need to process user input, format output, parse text files, or manipulate data containing text, this Skill will be your go-to reference for all String operations in Cangjie.

Quick Start

Use the cangjie-std-string skill to learn how to split a string by a delimiter.

Frequently Asked Questions about cangjie-std-string

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I split a string by a delimiter in Cangjie?

To split a string in Cangjie, use the standard library's String manipulation methods, which provide specific functions for dividing text by delimiters. This allows you to parse user input or text files into substrings.

How does Cangjie handle UTF-8 string conversion to byte and rune arrays?

Cangjie handles UTF-8 conversion by providing String methods that translate text data into byte arrays and rune arrays. This ensures proper encoding and decoding when manipulating text data.

What string manipulation methods are available in the Cangjie standard library?

The Cangjie standard library offers methods for string construction, search, replace, trim, pad, case conversion, and comparison. These cover essential text processing needs from formatting output to data parsing.

How do I construct a string from byte arrays in Cangjie?

You can construct a string from byte arrays in Cangjie using the standard library's String construction features. This supports creating text from literals or binary data for further manipulation.

Can I perform case conversion and trimming on text data in Cangjie?

Yes, Cangjie supports case conversion and trimming through its String manipulation methods. You can format text data by removing whitespace and converting characters to upper or lower case.