UEC++ From Basics to Advanced | M10-009: FString Splitting and Case Conversion

Опубликовано: 23 Июль 2026
на канале: Huagang Liu
5
0

This hands-on video covers string splitting and case conversion techniques in FString. We implement a LogStream helper method using UE_LOG to display debug output, and demonstrate several truncation and splitting methods.

The core splitting methods covered are: Left (returns the leftmost N characters), Right (returns the rightmost N characters), and Mid (returns a substring starting at a given position). The Split method divides a string into two parts at a specified delimiter, while ParseIntoArray splits into an array of substrings—an essential tool for parsing comma-separated or slash-delimited data.

Case conversion is handled by ToUpper and ToLower, both returning new FString copies. We also explore a practical URL splitting example that demonstrates how to extract protocol, domain, and path components using these methods. This real-world use case previews the network communication topics coming in later modules.