Recent content by OPK

  1. O

    Splitting string to array based on string length (amount of characters)

    BIG thanks RSF, you did in 10 statements, what I did in 46; your macro is almost correct, as it misses the last chunk. It is however present in the str var, so I added one statement and now it is perfect. Problem solved :) Thanks again!
  2. O

    Splitting string to array based on string length (amount of characters)

    .{1,200}\s is working fine on Regex 101 site; it is working fine in Extract Text + First Match, but it is not working in Remove Text (bug?) and as there is no First Match option; it is not the result I need...
  3. O

    Splitting string to array based on string length (amount of characters)

    As said, I found several suggestions which, I couldn't get to work: • ^\s*(?: (\S{200})|([\s\S]{1,200})(?!\S)) ->no space between ":" and ":" but if I delete that, it will show a smilie... • .{1,200}\w*+
  4. O

    Splitting string to array based on string length (amount of characters)

    Hi. Looks easy enough, but I've been unable to make this work. Some apps eg Google Translate, Twitter, SMS etc only allow a max amount of characters being entered. So how do I split a 500 characters string into chunks of maximal 200 characters, while keeping the last word intact? I'm thinking -...
Top