Example: sapgui_text_edit_get_selection_index_start

In this example, sapgui_text_edit_get_selection_index_start assigns the offset of the first character in the selection to parameter "startPos."

sapgui_text_edit_get_selection_index_start(
    "Get first",
    "usr/cntlSRC/shellcont/shell",
    "startPos",
    LAST );