View source for Module:IPA symbol
From HandWiki
You do not have permission to edit this page, for the following reasons:
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
Templates used on this page:
- Template:Collapse bottom (view source)
- Template:Collapse top (view source)
- Template:Main other (view source)
- Template:T (view source)
- Template:Template link (view source)
- Module:IPA symbol/data (view source)
- Module:IPA symbol/doc (view source)
- Module:IPA symbol/overview (view source)
- Module:IPA symbol/overview/styles.css (view source)
Return to Module:IPA symbol.