what is a hard space?
kray at sonsothunder.com
Sat Aug 13 19:01:13 CDT 2005
On 8/13/05 6:21 PM, "Erik Hansen" <erikhans08 at yahoo.com> wrote:
> --- Ken Ray <kray at sonsothunder.com> wrote:
>> On 8/13/05 12:35 AM, "Sivakatirswami"
>> <katir at hindu.org> wrote:
>> The only thing to keep in mind is the situation
>> where you have hard-spaces
>> before or after a string, in which case the
>> "word 1 to -1" approach won't
> what is a hard space?
A "hard space" is ASCII 202 (which on a Mac you can get by typing
Option-Space), which looks like a space, but acts like a non-space character
- that is, you can't break the words connected with hard spaces because it
"looks" (to the OS) like a single word.
Back in the old HC/SC days, you'd use hard spaces to make sure the
"clickText" could be used on what *appeared* to be two (or more) words in a
field. For example, if you have:
in a locked field and the script of the field says "on mouseUp;put the
clickText;end mouseUp", when I click on "Ken", it will put "Ken". However,
if I have this in a field:
and then clicked on "Ken", it will put "Ken Ray".
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode