@dillthekraut I agree the text chopper should be able to do this - seems dumb that it cannot - at any rate this kind of work is better to offload to something a little more standardised than these strange actors. You can use the javascript actor for this easily. Make sure to connect the inputs and outputs of the actor to something that can send and receive text respectively othewise this will not work - the outputs dont automutate to types based on the code for some reason.
// iz_input 1 "fileName" // iz_output 1 "fileNameWithoutExtension" function main() { // Get the input file name from the first argument let fileName = arguments[0]; // Use JavaScript to get the base name by removing the last segment after the dot let fileNameWithoutExtension = fileName.substring(0, fileName.lastIndexOf('.')); // If there is no dot (i.e., no extension), return the file name as it is if (fileNameWithoutExtension === "") { fileNameWithoutExtension = fileName; } return fileNameWithoutExtension; }