Store file txt into Arduino

Hi all, i have a simple question, i want store a txt with some information into Arduino. On setup function, i want to read this file one times and after that dont use anymore. What is the best way to do this?
I read to use a SD card, but for my work is much expensive.
How can i do this?

Thanks a lot

i want store a txt with some information into Arduino.

Where? The Arduino does not have a file system.

PaulS:
Where? The Arduino does not have a file system.

I know, for this i ask in the forum, i want to say if there is a solution

If you are to store a text file, you need a file system. The only way to give the Arduino a file system is to give it an SD card reader/writer.

Now, depending on how much text you want to store, why you want to store the text, and for how long, there may be options that do not involve a file.

Auron6:
Hi all, i have a simple question, i want store a txt with some information into Arduino. On setup function, i want to read this file one times and after that dont use anymore. What is the best way to do this?
I read to use a SD card, but for my work is much expensive.
How can i do this?

Thanks a lot

how many characters?

If less than 1k you can stuff it into the internal EEPROM.

If your program does not use all of the 32k of flash, you can stuff it into the remainder.

Else you will need to add hardware:

Serial (i2c) eeproms 256 bytes to 512k bytes

Serial (SPI) Flash up to 16Mbytes

Pick your poison, with any of these solutions, you will have to create your 'file system'. These devices just store bytes, you have to organize them.

Chuck.