Translations:Extension:Scribunto/Lua reference manual/2413/en

-- Returns "foo..." mw.text.truncate( "foobarbaz", 6, nil, true )