• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
String combining speed trick no longer works...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

String combining speed trick no longer works...


  • Subject: String combining speed trick no longer works...
  • From: Matthew Stuckwisch <email@hidden>
  • Date: Tue, 3 Dec 2002 21:15:41 -0600

...if you plan on using Unicode text.

I'm sure that we've all known about the {"a","b"} as string method to more rapidly join together strings in large numbers. While trying desperately to figure out why the caron-G, cedille-S, dotted-capital-I, and dotless-lowercase-I wouldn't work in my AS Studio program I found that the following will not function properly (at least not with some characters):

set a to "a" as Unicode text
set b to "b" as Unicode text
set c to {a,b} as Unicode text

As such, if you plan on using or even possibly any type of Unicode characters in a script or program, I strongly advise starting out using (a & b) instead of {a,b}


Matthew Stuckwisch
[AIM/MSN]{GuifaSwimmer} | [Yahoo!]{SapphireTree} | [ICQ]{137477701}
[IRC]{guifa}(esperNET / GamesNet) | [E-mail]{email@hidden}
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: String combining speed trick no longer works...
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: iconquestion
  • Next by Date: Strange text item delimiter effect
  • Previous by thread: Which shell?
  • Next by thread: Re: String combining speed trick no longer works...
  • Index(es):
    • Date
    • Thread