Jump to content

File extension is in extensions list: Difference between revisions

→‎{{header|J}}: Update for task changes
(Added Kotlin)
(→‎{{header|J}}: Update for task changes)
Line 531:
 
=={{header|J}}==
 
{{update|J}}
 
'''Solution:'''
Line 538 ⟶ 536:
isExt=: e.~&:(tolower&.>) getExt&.>@boxopen</lang>
'''Usage:'''
<lang j> Exts=: <@('.'&,);._1 ' .ozip .ijsrar .ij7z .pgz archive A##'
TestFiles=: <;._1 ' fooMyData.oa## blabMyData.iJtar.Gz dramMyData.gzip latMyData.P7z.backup winMyData...dll fooMyData'
Exts isExt TestFiles
1 1 0 10 0 0</lang>
 
=={{header|Java}}==
892

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.