Split By Length

Pure
SplitByLength

Splits a string into chunks of the specified length.

Type: Pure (no side effects)
Category: Fortuna|String & Text
Keywords: string & text

Inputs

NameTypeDefaultDescription
InputFStringInput parameter
ChunkSizeintChunkSize parameter

Outputs

NameTypeDescription
ReturnValueTArray<FString>ReturnValue output

Example Use Cases

Example 1

Break a long message into pages.

Example 2

Chunk data for transmission.