Copying a portion of text from a text block

Hello.
I'm looking for a way to copy a portion of text from a text block—for example, the 10th and 11th characters—so I can save them in variables. Or the 10th through 15th characters.

2 Likes

Something like:

Where the "call extract" can be put and repeated everywhere you need to extract some characters.
Be aware that the check for the length of the source string must be done before any attempt to extract, to avoid runtime errors.

2 Likes

Ah aha ah, I'm always too late ... :rofl: :rofl: :rofl:

1 Like

Thanks everyone for your help!

1 Like