Open main menu

Changes

Module:StringHelpers

23 bytes added, 15:50, 12 April 2020
no edit summary
function p.getParagraphFromQuestion(param)
dashIndex = string.find(param.args[1], '-', 1, true);
if((dashIndex ~= nil) and tonumber(string.sub(param.args[1], dashIndex-2, dashIndex-2)))
then
return "simple question"