get extension

This block is part of the files group and was last modified in core v13.0.7.

get extension v12.1.1 Updated v13.0.7

Grabs the file extension and mime-type

In pins 1
  • file required
    file
Out pins 3
  • file
    value
  • extension
    value
  • mime-type
    value

A typical wiring for get extension: if feeds the file pin; the filename out pin feeds ==; the extension out pin feeds concatenate values.

Studio canvas example for the get extension block: typical wiring for get extension.

Commonly used with

In production blueprints, this block is most often wired together with:

  • ==: this block feeds into it. returns true if the two values are equal.
  • if: feeds into this block. If.. then.. else..
  • rename: feeds into this block. Renames the given files.
  • create: feeds into this block. Creates a new function that can be executed using the given name.
  • concatenate values: this block feeds into it.
  • convert to lowercase: this block feeds into it.

Version history

Introduced in v12.1.1.

Last modified in v13.0.7.


Back to files Return to the main group to view all sub-groups Back to file modification Return to the group to view all blocks within this group