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 
> <use-livecode@lists.runrev.com> wrote:
> 
> Is there a easy way to do this?:
> 
> Given this htmlText that may contain Chinese characters and/or some 
> horizontal tabs—
> 
> &#9;&#9;&#9;&#22823;&#32966;&#30340;&#24378;
> 
> 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 “#” and the “;” would return true. 
> Having ONLY "&#9;” but not the other would return false. 
> 
> Thanks for suggestions!
> 
> Peter Bogdanoff
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to