Are you using Thunderbird for an email client? Or are you copying from the
forum? This was talked about years ago. For some reason different apps format
clipboard text differently, and this is an artifact of one of those apps. That
is why I paste, then re-copy code in a text editor like TextEdit
On Jul 31, 2023, at 8:54 AM, Paul Dupuis via use-livecode
wrote:
Bob,
Here is a version of Mark's method, for trueWords, sentences, and paragraphs,
with the added parameter of pDirection to get the char index of the start of
the chunk or the end of the chunk containing the character position
Sent from my iPhone
On 27 Jul 2023, at 21:23, Paul Dupuis via use-livecode
wrote:
On 7/27/2023 4:31 AM, Mark Waddingham via use-livecode wrote:
On 2023-07-26 18:02, Paul Dupuis via use-livecode wrote:
If I have some text in a field, I can use the "charIndex"
property (see Dic
a use-livecode wrote:
On 2023-07-26 18:02, Paul Dupuis via use-livecode wrote:
If I have some text in a field, I can use the "charIndex" property (see
Dictionary) to obtain teh character position of the first character of a chunk.
Does anyone know of a clever way to do the equivalent of
me lucky? ;)
>
> Mark.
>
> Sent from my iPhone
>
>> On 27 Jul 2023, at 21:23, Paul Dupuis via use-livecode
>> wrote:
>>
>> On 7/27/2023 4:31 AM, Mark Waddingham via use-livecode wrote:
>>>> On 2023-07-26 18:02, Paul Dupuis via use-livecode
Love it 😂
Sent from my iPhone
> On Jul 28, 2023, at 10:36 PM, Bob Sneidar via use-livecode
> wrote:
>
> This is the essence on Livecode! This is why we love it! Shouldn’t we
> rebrand it? How about Lovecode?? …..
>
> Never mind. 😂
>
> Sent from my iPhone
>
>>> On Jul 28, 2023, at 04:55,
This is the essence on Livecode! This is why we love it! Shouldn’t we rebrand
it? How about Lovecode?? …..
Never mind. 😂
Sent from my iPhone
> On Jul 28, 2023, at 04:55, Paul Dupuis via use-livecode
> wrote:
>
> On 7/27/2023 5:06 PM, Mark Waddingham via use-livecode wrote:
>> Oh those pesky
On 7/27/2023 5:06 PM, Mark Waddingham via use-livecode wrote:
Oh those pesky chunks which don’t ‘cover’ the target string (which is actually
all of them except codeunit/point/char come to think of it). I should have run
through a few more examples in my head before posting….
Alternative attemp
.
Sent from my iPhone
> On 27 Jul 2023, at 21:23, Paul Dupuis via use-livecode
> wrote:
>
> On 7/27/2023 4:31 AM, Mark Waddingham via use-livecode wrote:
>>> On 2023-07-26 18:02, Paul Dupuis via use-livecode wrote:
>>> If I have some text in a field, I can use
On 7/27/2023 4:31 AM, Mark Waddingham via use-livecode wrote:
On 2023-07-26 18:02, Paul Dupuis via use-livecode wrote:
If I have some text in a field, I can use the "charIndex" property
(see Dictionary) to obtain teh character position of the first
character of a chunk.
Does anyone
On 2023-07-26 18:02, Paul Dupuis via use-livecode wrote:
If I have some text in a field, I can use the "charIndex" property (see
Dictionary) to obtain teh character position of the first character of
a chunk.
Does anyone know of a clever way to do the equivalent of the charInd
On 7/26/2023 8:00 PM, Mike Kerner via use-livecode wrote:
actually, i have a couple of questions, which are maybe suggestions,
but are actually questions, because maybe someone else will be curious
enough to try to solve them
* did you check the oss source to see if the function is available?
No.
actually, i have a couple of questions, which are maybe suggestions,
but are actually questions, because maybe someone else will be curious
enough to try to solve them
* did you check the oss source to see if the function is available?
* have you messed with using regex to get around the issue?
On
On 7/26/2023 1:13 PM, Bob Sneidar via use-livecode wrote:
OIC what that does. I suggest having a hidden field, setting the text of that
field to your variable, then operating on that field.
Bob S
That is what I am currently doing. And I have a hidden field, hidden
image, hidden player - all
10:02 AM, Paul Dupuis via use-livecode
>> wrote:
>>
>> If I have some text in a field, I can use the "charIndex" property (see
>> Dictionary) to obtain teh character position of the first character of a
>> chunk.
>>
>> For example, if the fi
Offset?
Bob S
> On Jul 26, 2023, at 10:02 AM, Paul Dupuis via use-livecode
> wrote:
>
> If I have some text in a field, I can use the "charIndex" property (see
> Dictionary) to obtain teh character position of the first character of a
> chunk.
>
>
If I have some text in a field, I can use the "charIndex" property (see
Dictionary) to obtain teh character position of the first character of a
chunk.
For example, if the field contains:
The quick brown fox jumps over the lazy dog. The lazy dog was named "Oz".
The lazy
17 matches
Mail list logo