Arrays and Arrays and Arrays and Somebody Please Help Me Arrays

I don't program in C, but the first thing I want to say is that there are no integer arrays in KM. There are only strings, but KM allows you to fetch the Nth element of a string using and index that looks like a standard programming language index into a numeric array.

And the second think I want to say is that KM lets you fetch array elements from a string, but not assign elements the way you can in C. There are workarounds. There's a workaround using Javascript, one using shell commands, and one using macros. If you give us more context about your problem we might be able to give you the best answer. Fore some more information you could check this post:

I'm a little confused by your screenshot. If you show the action where you are trying to use that string, I can probably correct you. But since I don't know the context, I'm not able to provide the solution.

1 Like