Wikifunctions (original) (raw)
Wikifunctions:Main Page
Welcome to Wikifunctions
Wikifunctions is a free library of functions that anyone can edit.
Welcome!
Wikifunctions is a Wikimedia project for everyone to collaboratively create and maintain a library of code functions to support the Wikimedia projects and beyond, in the world's natural and programming languages.
A "function" is a sequence of programming instructions that makes a calculation based on data you provide. Functions can answer questions, such as how many days have passed between two dates, or the distance between two cities.
Get started
Functions to try out
- is a palindrome (Z10096): test if a string is the same when read forward and backward (see Z10553 for one with Unicode grapheme support)
- get day of week from date (Z13163): returns the day of week when given a date as year, month and day of the month
- is prime (Z12427): Checks if the provided integer is prime or not.
- English cardinal (Z13587): expresses a natural number in English words
- is pangram (Latin alphabet) (Z12626): checks whether a string of characters possesses every letter from the Latin alphabet at least once
- Caesar cipher (Latin alphabet) (Z12812): rotates letters in the Latin alphabet forward by a defined number of places
- reverse string (Z10012): Inverts the order of the characters in a String (see Z10548 for one with Unicode grapheme support)
- substring exists (Z10070): Check if a substring exists within another string
Learn and contribute
News
Wikifunctions is part of the non-profit, multilingual, free-content Wikimedia family.