Jump to content

can a chunk of text be selected through a script?


This topic is 7302 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have a large field with many chunks of text in it.

Some of the chunks are 2 lines and some are three and some are four lines

I am trying to find out if there is anyway that I could write a script or a calculation to select the very next group of text. ( There are thousands in this one field ) The distance of blank space between the chunks of text are different.

I just wanted to put this out to the group to see if there is a way to do this

thanks all

It would look something like this

skdjfalkjsdf;lakjsdf;kj ljsdf asdfasdf

asdfkjaksdf asdfasdf asdflkja;

asdfasdf jkljd;lakjsdf; asdfasdf

asdfasdf j;kjl;kjkljaja

asdfkasdfa;lsdfkj

asdlfjalksdjf;alksdjf;ja;jkljaasdf

asldkfja;lskdjf;lakjsdfa

asdlfkjalskdjklajd;lkjg;lkjg

asldkfjalksdjglaksjgalksdj

aslkdjglkasjdglakdsjglkadjg;

asdfjakljsdf;klajsdf;ajds

asdlkfja;ksdfj;alksdjf;alksdd

If I can select the next chunk of text , I can continue with another script.

thanks again

FileMaker Version: 7

Platform: Mac OS X Panther

Link to comment
Share on other sites

chunks of text seem to be separated by double-returns (at least).

try reducing all multiple returns to double returns (replace(replace ..(text, "q|q|q|","q|q|"),"q|q|q|","q|q|")...

The separate using text functs...

Link to comment
Share on other sites

Hi Hartmut77,

There is a similar thread Here posted by Stann that discusses extra returns that may be of help to you. I also provided a link to another URL (marked Here in blue) that will be of interest to you I'm sure.

HTH

Lee smile.gif

FileMaker Version: 6

Platform: Mac OS 9

Link to comment
Share on other sites

This topic is 7302 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.