How to stip .mov using sprintf


    Jun 22 2013 | 7:34 am
    I want to remove the file name ending from a video file:
    my_movie_file_name.mov
    I assume i need to use sprintf to remove the .mov
    see patcher.
    what would the syntax in sprintf be?

    • Jun 22 2013 | 9:29 am
      Hi,
      I guess you should try [regexp] for this. Even if you don't know how to write regular expressions, a Google search will give you the right expression to strip the extension from a filename.
      HTH, Ádám
    • Jun 22 2013 | 9:45 am
      Thanks, I'll try this
    • Jun 23 2013 | 6:57 pm
      here are two ways to do this : - one with [atoi] and one with [regexp]:
    • Jun 23 2013 | 8:26 pm
      I thank you so much. !!!!