[LON-CAPA-users] numeric portion of a submission

Jon Hall jdh65 at bellsouth.net
Thu Oct 17 07:08:28 EDT 2013


Hello all,

Is there an easy way to access just the numeric portion of a student's submitted answer?

In other words, if a student submits 54.6 m/s as an answer, is there a way to strip the non-numeric characters to use just the 54.6 as a point on a gnuplot, for example?


So my script would include:

$vi_submitted=&EXT('user.resource.resource.15.16.submission');

but then what?

Thanks!




More information about the LON-CAPA-users mailing list