OriginalPostID-174728
Discussion posts and replies are publicly visible
Hi you can convert everything to unicode and use the indices of the first non newline and non spaces to select the text between spaces and newlines by making the use of mid() in this manner:
load( local!unicode: code(ri!input), local!indices: enumerate(length(local!unicode))+1, local!newlineAndSpaceIndices: append(wherecontains(10, local!unicode), wherecontains(32, local!unicode)), local!textIndices: difference(local!indices, local!newlineAndSpaceIndices), local!finalText: mid( ri!input, index(local!textIndices, 1, {}), index(local!textIndices, length(local!textIndices), {}) - index(local!textIndices, 1, {}) + 1 ), local!finalText)