Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Ignoring Foreign Characters

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,57917
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Ignoring Foreign Characters
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Ignoring Foreign Characters - 3/13/2008 7:32:49 AM   
  skmoon

 

Posts: 4
Score: 0
Joined: 3/7/2008
Status: offline
Earlier I posted a question regarding replacing question marks in strings. That thread is here:
http://www.visualbasicscript.com/m_57897/tm.htm

I have since learned that was not my prob (sorry about that - I figured it best to start a new thread). The question marks were how foreign characters were interpreted. So, I have a new question.
I will be evaluating several strings. If any string contains foreign characters, I would like to just ignore that particular string.

For example:

      

Obviously I need help with the 'contains foreign characters' part of this code. Any help would be greatly appreciated.
 
 
Post #: 1
 
 RE: Ignoring Foreign Characters - 3/13/2008 8:36:12 AM   
  dm_4ever


Posts: 2641
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
I'd suggest using a Regular Expression....see this post: http://www.visualbasicscript.com/m_55707/tm.htm

_____________________________

dm_4ever

My philosophy: K.I.S.S - Keep It Simple Stupid
Read Me: http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to skmoon)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Ignoring Foreign Characters Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts