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

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