| REM **********************************************************
REM 文字列の最後の . 以降の文字列の取得
REM **********************************************************
Function GetFileName( strValue )
Dim aData,str,I
aData = Split(strValue,"\")
strValue = aData(Ubound(aData))
aData = Split(strValue,".")
if Ubound( aData ) > 0 then
For I = 0 to Ubound(aData)-1
if I <> 0 then
GetFileName = GetFileName & "."
end if
GetFileName = GetFileName & aData(I)
Next
else
GetFileName = aData(0)
end if
End Function
| |