How to divide string

Let’s say you have a string and the string contains “ab” how could you divide this up into multiple strings, so you would have a string which equals “a” and a string which equals “b”?

Hello,

The answer is here:

:)

I don’t know if I’m just stupid but I checked the article and couldn’t find it.

1 Like

The closest thing I could think of is this:

1 Like

thank you this worked

You can also use subString

Same page

Or charAt when you always have only 2 letters

1 Like