textat

Group: text

Return copy of the character at a given index in text.

Syntax

    textat result-register string-register index-register
    

Examples

.function: main/0
    .name: %iota hello_world
    text %hello_world local "Hello World!"

    .name: %iota index
    istore %index local 6

    .name: %iota got_character
    textat %got_character local %hello_world local %index local

    print %got_character local

    izero %0 local
    return
.end