[LON-CAPA-users] spreadsheet access folder name?

Jon Hall lon-capa-users@mail.lon-capa.org
Mon, 9 Jan 2006 21:22:32 -0500


if i have a bunch of problems in located in folders named:

Homework 14A
Lab: Centripetal Motion
Lab: Simple Pendulum
Homework 14B
Quiz 14.1

how can i reference that information in the assessment-level  
spreadsheet?

i.e. how do i code

if (folder name contains 'Homework')
{
calculation 1;
}
else
{
calculation 2;
}

thanks for any assistance!