# パス. フルパス→ファイル名(basename)

# Bash

basename $fullpath
${fullpath##/}

# Excel

=MID(SUBSTITUTE(A1,LEFT(A1,FIND(">",SUBSTITUTE(A1,"/",">",LEN(A1)-LEN(SUBSTITUTE(A1,"/",""))),1)-1),""),2,LEN(A1))

# PowerShell

Split-Path -Leaf fullpath

# Python

os.path.basename(fullpath)

# Ruby

File.basename(fullpath)

[ 📩 ご意見 ]