what is a hard space?

Richard Gaskin ambassador at fourthworld.com
Sat Aug 13 21:01:20 EDT 2005


Ken Ray wrote:
>>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.

FWIW, a "hard space" is sometimes called a "non-breaking space" (in 
reference to word breaks), and is represented in HTML and Rev's htmlText 
with the character entity " ".  If you're working with htmlText the 
character entity can be easier to deal with than the ASCII value.

--
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list