Re: Find some text characters

2017-07-20 Thread Jonathan Lynch via use-livecode
Using ";" as the itemdel - makes sense. I also realized both split and filter could used for this. None of these beat regex for brevity, though. Sent from my iPhone > On Jul 20, 2017, at 11:06 AM, Bob Sneidar via use-livecode > wrote: > > of if char 3 to -1 of tItem > > > Bob S > > >

Re: Find some text characters

2017-07-20 Thread Bob Sneidar via use-livecode
of if char 3 to -1 of tItem > Bob S > On Jul 17, 2017, at 14:59 , Jonathan Lynch via use-livecode > wrote: > > If the number of chars in tItem = 8 then... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to su

Re: Find some text characters

2017-07-17 Thread Thierry Douez via use-livecode
2017-07-18 6:31 GMT+02:00 Peter Bogdanoff via use-livecode < use-livecode@lists.runrev.com>: > Thierry, I ended up using your first Regex example—works great! > > It is very good to know about \p{} matches—everything from Arabic to Yi. That may come in handy later. > > Thanks, > > Peter > > ​Glad

Re: Find some text characters

2017-07-17 Thread Peter Bogdanoff via use-livecode
Thierry, I ended up using your first Regex example—works great! It is very good to know about \p{} matches—everything from Arabic to Yi. That may come in handy later. Thanks, Peter > On Jul 17, 2017, at 8:54 PM, Thierry Douez via use-livecode > wrote: > > 2017-07-18 3:53 GMT+02:00 Thierry D

Re: Find some text characters

2017-07-17 Thread Thierry Douez via use-livecode
2017-07-18 3:53 GMT+02:00 Thierry Douez : > >> I want to know if this data contains Chinese characters >> >> Thanks for suggestions! >> >> Peter Bogdanoff >> >> > ​Hi Peter, > ​Ok, back after my second morning coffee :) A better way to check for Chinese code points would be something like that

Re: Find some text characters

2017-07-17 Thread Thierry Douez via use-livecode
2017-07-17 23:40 GMT+02:00 Peter Bogdanoff via use-livecode < use-livecode@lists.runrev.com>: > Is there a easy way to do this?: > > Given this htmlText that may contain Chinese characters and/or some > horizontal tabs— > > 大胆的强 > > I want to know if this data contains Chinese characters, that

Re: Find some text characters

2017-07-17 Thread Jonathan Lynch via use-livecode
ts > > Sent from my iPhone > >> On Jul 17, 2017, at 6:45 PM, dunbarx via use-livecode >> wrote: >> >> This cries out for regex. >> >> Thierry? >> >> >> >> -- >> View this message in conte

Re: Find some text characters

2017-07-17 Thread Jonathan Lynch via use-livecode
End repeat This should give a list of all 5 number sets Sent from my iPhone > On Jul 17, 2017, at 6:45 PM, dunbarx via use-livecode > wrote: > > This cries out for regex. > > Thierry? > > > > -- > View this message in context: > http://runtime-revolution.

Re: Find some text characters

2017-07-17 Thread dunbarx via use-livecode
This cries out for regex. Thierry? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Find-some-text-characters-tp4717138p4717143.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode

Re: Find some text characters

2017-07-17 Thread Jonathan Lynch via use-livecode
Could replace tab with empty first, if the tabs do not matter in the final product I imagine LC provides many ways to do this :) Sent from my iPhone > On Jul 17, 2017, at 6:20 PM, Niggemann, Bernd via use-livecode > wrote: > > > Given this htmlText that may contain Chinese characters and/or

Re: Find some text characters

2017-07-17 Thread Niggemann, Bernd via use-livecode
Given this htmlText that may contain Chinese characters and/or some horizontal tabs— 大胆的强 I want to know if this data contains Chinese characters, that is an entity with 5 numbers between the “#” and the “;” according to google-translate this means "bold and strong" maybe this is a way?

Re: Find some text characters

2017-07-17 Thread Jonathan Lynch via use-livecode
If the number of chars in tItem = 8 then... You always have three extra chars, so that should be right. If you need an itemdelimiter, use "&" and check if the number of chars in each item = 7 Sent from my iPhone > On Jul 17, 2017, at 5:40 PM, Peter Bogdanoff via use-livecode > wrote: > > Is

Find some text characters

2017-07-17 Thread Peter Bogdanoff via use-livecode
Is there a easy way to do this?: Given this htmlText that may contain Chinese characters and/or some horizontal tabs— 大胆的强 I want to know if this data contains Chinese characters, that is an entity with 5 numbers between the “#” and the “;” Only data containing 5 numbers between the “#” an