משתמש:Ariel1024/ארגז חול/יחידה:חסר ניקוד
מראה
< משתמש:Ariel1024 | ארגז חול
local p = {}
require "mw.ustring"
function p.remove( frame )
str = frame.args.string; len = mw.ustring.len( str ); byte = string.byte; sub = mw.ustring.sub; niqqud = {214,176,177,178,179,180,181,182}; boolean = true; n_str = ""; for i=1,len do boolean = true;
for j=1,8 do if ( byte(str,i) == niqqud[j] ) then boolean = false; break; end end if (boolean) then n_str = n_str .. sub ( str,i, i); end end return n_str; end
return p;