How to parse a specific chunk of formatted text from bigone

Get help using Construct 2

Post » Thu Feb 16, 2017 9:39 pm

Hi,

I'm stumped at how to use RegexMatchAt and I kinda feel that's the way to go. But it's heavily confusing for me.

What I need to do is to rip out a chunk of text from a LARGE file and load it in a say variable.

Would it retain formatting like newline and such? If so, how would I proceed to do this in the simplest fashion possible?

Thank you
B
37
S
6
G
1
Posts: 301
Reputation: 2,865

Post » Thu Feb 16, 2017 10:29 pm

OK I found a way around the problem. I load up the text into an excel sheet then export asJson and load it up in a dictionary. I retain formatting by adding /n/n/ and C2 reads it perfectly well.

Another time for RegexMatchAt and me then.
B
37
S
6
G
1
Posts: 301
Reputation: 2,865


Return to How do I....?

Who is online

Users browsing this forum: Prominent, RalleRoyal and 33 guests