I want to know how to erase the last four characters of a string that are generated at run time. It currently looks something like this.
bsp0 and bsp1 are both filenames added from a FileListBox. The FileListBox has a preset filter, so the file ext will always be the same. And how do you generate as many of these "a.WriteLine..." lines as needed by the list2.listcount?Code:bsp0 = List2.List(0) bsp1 = List2.List(1) a.WriteLine ("set m1 ""fraglimit 10" & " ; map ") & Len(bsp0), 4 a.WriteLine ("set m2 ""fraglimit 10" & " ; map ") & Len(bsp1), 4
thanks a lot!
-deadBird


Reply With Quote