This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Language string

Help for those learning Tcl or writing their own scripts.
Post Reply
User avatar
NewzNZ
Halfop
Posts: 68
Joined: Thu Mar 05, 2009 5:15 am
Contact:

Language string

Post by NewzNZ »

Hi - I have a script to pull market trades from Twitter - one source I have mixes English and languages with other text script (Russian etc).
Am attempting to filter out the other languages to only show english text with this:

if {![string match {*[a-z]*} $tt] || ![string match {*[A-Z]*} $tt]} { return }

...but no luck...any ideas would be appreciated!
Thanks!
Post Reply