store the values and the string to the sd card

Hello,

I use Arduino Mega, and I want to store the values and the string to the sd card.

Plz, help me to do this!

The SD library comes with simple examples.
Which did you try?