Im stuck with some simple problem but i cant really wrap my head around it. In my Function i collect all Letters of a String till it maches a specific letter and append them to an array. Im pretty sure thats not how it should be done (propably with matchPattern) . Anyways when i now try to convert my Array to a string by: array as string or a for loop like that:
fn makeArrayToSting arrayX = (
stringM = "" for element in arrayX do ( stringM = stringM + (element as string) ) return stringM )
i only get glibberish. And not my Word. Im pretty sure there is an simple solution for this but i also would love to know what exactly is the Problem with my Approach. And if there are easy solutions to reverse an String or Array would be good too know too (Right now i feed them in another rray with an For loop in the other direction).
Idears would be Appreciated