egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Language string

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
NewzNZ
Voice


Joined: 05 Mar 2009
Posts: 24

PostPosted: Fri Nov 17, 2017 2:43 am    Post subject: Language string Reply with quote

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!
_________________
Realtime News + Trading Action 24:7
http://iNewsroom.net
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber