mehdi_h Report post Posted 01/20/2010 11:02 PM Hi, I'm playing wav file in a play module. The path to the wav file is made of substring of a value that I read from a database. ex: the string I read is like aa = "09-06-14 14:00" I would like to play the wav file that is called 14.wav. I was wondering how I can build the path using directly the aa var by using the mid(string,start, end) function. It seems that I cant put directly in the wave file path like this : c:\..\mid(aa,7,).wav How can I manage that? tkx Mh Share this post Link to post
SupportTeam Report post Posted 01/21/2010 12:23 AM The mid function etc. cannot be used as part of the filename expression. Only $RVs can be used as part of the filename expression. You can use the mid function in an Evaluate Expression module, assign the result of that module to an $RV, and then use that $RV as part of the filename expression. Share this post Link to post