hello!
i need to trim the extension off a string.
the string comes from a filename ending in .csv
the filename could be any length.
what i need is to convert "blah.csv" into "blah"
any ideas?
$file = basename($file, ".csv");