What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Case talker

Case talker
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Case talker
Similar in VBScript:

Function talker(input)
  Dim i, Str, Char
  Str = ""
  For i = 1 To Len(input)
    Char = Mid(input, i, 1)
    If Char = LCase(Char) Then
      Char = UCase(Char)
    ElseIf Char = UCase(Char) Then
      Char = LCase(Char)
    End If
    Str = Str & Char
  Next
  talker = Str
End Function

This will change "This is a tëst - Ë" into "tHIS IS A TËST - ë" (note that ë, í, ô, etc. can also be upper/lowercased, these will be converted correctly also!)

This post was edited on 09-19-2004 at 01:35 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
09-19-2004 01:35 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Case talker - by Grinder911 on 09-18-2004 at 08:36 PM
RE: Case talker - by Grinder911 on 09-18-2004 at 08:50 PM
RE: Case talker - by Martijn. on 09-18-2004 at 09:54 PM
RE: Case talker - by Grinder911 on 09-18-2004 at 10:47 PM
RE: Case talker - by Grinder911 on 09-19-2004 at 12:10 AM
RE: Case talker - by CookieRevised on 09-19-2004 at 01:35 AM
RE: Case talker - by Mike on 09-19-2004 at 06:10 AM
RE: Case talker - by CookieRevised on 09-19-2004 at 10:32 AM
RE: Case talker - by CookieRevised on 09-19-2004 at 12:23 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On