Re: 4D World Tour - Denver

2017-05-05 Thread David Adams via 4D_Tech
On Sat, May 6, 2017 at 6:24 AM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com > wrote: You are correct. This is exactly how JPR described it. > This reminds me to tell a story I've shared before. My first job at 4D was working in the Tech Support 'pit'. And again, apologies to anyone that reached

Re: Counting # of specific characters in string/text

2017-05-05 Thread Arnaud de Montard via 4D_Tech
> Le 5 mai 2017 à 22:48, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Position allows you to specify where in the text the search is to start. You > don’t need to use Replace string: just start searching from the last found > position+1. For those interested I posted a ve

Re: Counting # of specific characters in string/text

2017-05-05 Thread John Baughman via 4D_Tech
Using length differences only works when counting a character or string of characters. It does not work when counting words. In Keith’s example “Time” as a word does not exist in the text passed to $a. “The” is another example as it only occurs twice, but the code will return 3. John > On May

Re: Counting # of specific characters in string/text

2017-05-05 Thread Jeremy Roussak via 4D_Tech
Position allows you to specify where in the text the search is to start. You don’t need to use Replace string: just start searching from the last found position+1. Jeremy Jeremy Roussak j...@mac.com > On 4 May 2017, at 17:58, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Q

Re: 4D World Tour - Denver

2017-05-05 Thread Tim Nevels via 4D_Tech
On May 5, 2017, at 2:00 PM, David Adams wrote: > You seem excited about the event ;-) Keep in mind that not everyone can > attend because they either live to far away, have a scheduling conflict, or > are reading these posts in the future. Unless they invent a time travel > machine, it won't be po

Re: 4D World Tour - Denver

2017-05-05 Thread Tim Nevels via 4D_Tech
On May 5, 2017, at 2:00 PM,Cannon Smith wrote: > Well, I thought I was talking about workers in general, but that was under > the assumption that all processes have some kind of execution cycle. Are you > saying that a non-UI process (ex. pre-emptive thread) won’t have an execution > cycle? Su

Re: LINE messaging integration

2017-05-05 Thread ADeeg via 4D_Tech
David, is this what you are looking for https://github.com/miyako/4d-plugin-common-crypto Magic Miyako has a lot of plugins ... Regards Armin 4D Tech mailing list wrote > Hi all, > I am wondering if anyone has done an integration with LINE messaging. > https://developers.line.me/messaging-api

Re: Counting # of specific characters in string/text

2017-05-05 Thread Keith Culotta via 4D_Tech
I haven't tested this for speed or unexpected conditions, but... $a:="now is the timetime for all good men to come to the aid of their country" $l1:=Length($a) $b:="time" $lb:=Length($b) $a:=Replace string($a;$b;"";*) $l2:=Length($a) $l3:=$l1-$l2/$lb ALERT(String($l3)) Keith - CDI > On May

Dates and Conditional popup bugs in Query editor

2017-05-05 Thread truegold via 4D_Tech
Hi all, 4D v15.2 & 4D 15.4 (Mac) It looks like 4D’s Query EDITOR (the one most of my users hate) has some issues. I’d like to confirm if others are seeing them. Here’s what broke for us: 1. The app has a convention of default dates being set as “03/03/0300”. It goes back to late 80”s and need