Jan 20

I was used to replace strings by a hardcoded string (or just "" to remove something) or a variable. But sometimes this was not enough, so I started complex treatments of the strings and substrings… often only to get headaches and bugs.

Yesterday, I wanted to clean an HTML string and reuse the value of an attribute to inject it in the new string. I was really not happy at all with the idea of doing the same heavy treatments as in previous works, so I opened the Flex Language Reference and read… This is usually a good thing … to read something totally. And there, I just found the Scrat the Saber-Toothed Squirrel ’s acorn… or I just felt like Scrat catching its treasure ;).

 

Continue reading »

not goodquite goodgoodvery goodexcellent (No Ratings Yet)
Loading ... Loading ...

Written by Arnaud
Tags: ,

Share/Save/Bookmark


Jan 26

I don’t know why but the SQLColumnSchema class of the SQLite API does not return the DEFAULT value of a field, neither its UNIQUE attribute. This kind of information is needed when you have to explore the schema of your AIR database. Here is my solution.

Continue reading »

not goodquite goodgoodvery goodexcellent (No Ratings Yet)
Loading ... Loading ...

Written by Arnaud
Tags: , ,

Share/Save/Bookmark