jit.gl.text character replacement and carriage return
Hello,
I'm struggling with something I thought easier...
I'm feeding a "jit.gl.text" with files names read from a "folder" object.
- First I'm trying to replace - or _ with "regexp" and "@subsititute" message.
It's almost working but I can't find what symbol designates a space...
- Even better than space, I'd like to replace - or _ with carriage return.
I've tried several objects that I don't handle well, like "spell" or "tosymbol" without success...
Any advices ?
Alain
hi alain.
unfortunately this is not such a straight forward task. i think the best/easiest way to go about it is use a simple JS to parse the text and write the output to a file, and read the file with jit.textfile. i've attached a basic example of this.
i'll be looking at ways to make this easier in the future.
It seems good !
I'll test it longer in a few days.
Thanks !
I've been working with text a lot recently. Trying to get consistent formatting and translation.
Post a patch and I might be able to offer some help.
Thanks Noah,
here is basically what I'd like to achieve :
Hello Rob,
I've finally tested your solution with JS object.
That's exactly what I needed !
Thanks !