new functions

new topic     » topic index » view thread      » older message » newer message

Hi Euphorians,

I made 2 "include files" one for reading and writing into INI file. And
one another for playing with string.

I give you the list of the function
ini.e
- readini (read a value)
- writeini (write a value)
- getIniSection (return all the section form a ini file)
- getIniItem (return all the item form a ini file/section)

sequence.e
- trim / ltrim / rtrim - to remove stupid '\n','\t',' ','\r'
- join / split            - for recording datas
- chop / chomp     - to remove stupid '\n' (or other) at the end the of
line
- push / pop / shift - playing with stack
- ucfirst / ucwords - to make beautiful output print
- replace               <-- very very powerful for playing with string.

Replace function can replace caracters (wow ... ) delete, translate,
case sensitive or not, global matching or not ...
The syntax is the same as in Perl regular expression "g tr i d"

If you want the 2 include files (ini.e require sequence.e) mail me and
I'll give you a ZIP (if you're under windows) or the files separated
(for linux users).
For information, I wrote 2 ini files for testing, 2 example files, and 2
documentations files (html and euphoria style).

Have a nice day.
    Ryo - french euphoria user ... I will work my english the next time.

--
Ryo
http://www.ryo-sama.com
http://dragonquest.multimania.com

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu