I have a function called Sanitize() which replaces spaces with underscores and does some other useful things.
Bob On Mar 5, 2014, at 13:40 , Peter Haworth <[email protected]> wrote: > I agree with that in terms of LC names but the original post on this > involved file names and they often have spaces in them quite legitimately. > > Pete > lcSQL Software <http://www.lcsql.com> > Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and > SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> > > > On Wed, Mar 5, 2014 at 1:05 PM, Ralph DiMola <[email protected]>wrote: > >> Here, Here... I agree. Spaces are just an invitation to problems. >> I know that a few CPU cycles are saved with case sensitive filenames, >> but..... There's another disaster waiting in the wings. >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> [email protected] >> >> -----Original Message----- >> From: use-livecode [mailto:[email protected]] On >> Behalf >> Of Robert Sneidar >> Sent: Wednesday, March 05, 2014 3:37 PM >> To: How to use LiveCode >> Subject: Re: Custom Props Set >> >> Just my 2ยข I do not see why anyone NEEDS to put spaces in names of >> anything. >> I always advise no spaces or special characters beyond hyphen and >> underscore >> in file names, and all lowercase in anything accessible over >> internet/intranet, including SQL columns. Follow these simple rules and it >> will be a rare moment when you have problems. >> >> Bob >> >> >> On Mar 5, 2014, at 9:17 AM, Peter Haworth <[email protected]> wrote: >> >>> Turns out the IDEObject Inspector lets you create a custom property >>> with spaces in its name but it won't let you create a custom property >>> set with spaces in its name. Didn't try any other supposedly illegal >> characters. >>> >>> Pete >>> lcSQL Software <http://www.lcsql.com> >>> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and >>> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> >>> >>> >>> On Tue, Mar 4, 2014 at 9:43 PM, J. Landman Gay >> <[email protected]>wrote: >>> >>>> On 3/4/14, 9:09 PM, Phil Davis wrote: >>>> >>>>> Also the data grid uses custom propertyset element names that >>>>> contain spaces. I'm guessing those elements are not considered custom >> props? >>>>> >>>> >>>> Parts of the documentation haven't kept up with engine changes. This >>>> looks like one of them. >>>> >>>> -- >>>> Jacqueline Landman Gay | [email protected] >>>> HyperActive Software | http://www.hyperactivesw.com >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> [email protected] >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> [email protected] >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> [email protected] >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> [email protected] >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
