[Tutor] rename files

Kent Johnson kent37 at tds.net
Thu Jan 11 01:20:45 CET 2007


Christopher Spears wrote:
> Is there a more elegant way to do this?  I haven't
> figure out how to convert stuff03 to STF.v03.

Just replace 'stuff' with 'STF.v' instead of 'STF' ? Or am I missing 
something?

You don't have to do the find(), you can just replace(); if the string 
being replaced is not there, nothing will be changed.

Kent



More information about the Tutor mailing list