View source for Module:IPA symbol
From The Goon Show Depository
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local data = mw.loadData('Module:IPA symbol/data').data
local p = {}
local gsub = mw.ustring.gsub
local len = mw.ustring.len
local sub = mw.ustring.sub
local function reverseLook(t, s)
local ret
for i = 1, len(s) - 1 do
-- Look for 2-char matches first
ret = t[sub(s, i, i + 1)] or t[sub(s, i, i)]
if ret then
return ret
end
end
ret = t[sub(s, -1)] -- Last character
if ret then
return ret
end
000
1:0
Template used on this page:
Return to Module:IPA symbol.