Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 795425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:28:43+00:00 2026-05-14T22:28:43+00:00

This is a language-agnostic question – unless you count English as a language. I’ve

  • 0

This is a language-agnostic question – unless you count English as a language.

I’ve got this list of items which can have very long names.

For aesthetic purposes, these names must be made shorter in some cases, adding dots (…) to indicate that the name is longer. So for example, if article.name returns this:

lorem ipsum dolor sit amet

I’d like to get this other output.

lorem ipsum dolor ...

I can program this quite easily. My question is: how should I call that shortening operation? I mean the name, not the implementation. Is there a standard English name for it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T22:28:44+00:00Added an answer on May 14, 2026 at 10:28 pm

    Truncation, or soft truncation (because of the ellipsis)

    I would call the function truncate, and that seems to be the consensus.

    CPAN: http://metacpan.org/pod/String::Truncate
    MooTools: https://mootools.lighthouseapp.com/projects/2706/tickets/670-new-addition-stringtruncate-method
    Prototype: http://www.prototypejs.org/api/string/truncate
    Smarty: http://www.smarty.net/manual/en/language.modifier.truncate.php
    Jinja: http://jinja.pocoo.org/docs/templates/#truncate

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is meant to be language agnostic. Using only Regular Expressions, can I
This is a C# question, but really could be language-agnostic I have inherited a
I have a language-agnostic question about an algorithm. This comes from a (probably simple)
This question is not language-aware. I wanna know how can I recognize a returning
[I am doing this work in Java, but I think the question is language-agnostic.]
This is most certainly a language agnostic question and one that has bothered me
So this one is sort of a language agnostic question that I don't really
This question is language agnostic but I am a C# guy so I use
This question is more or less programming language agnostic. However as I'm mostly into
While this question is somewhat language agnostic ( agnostic as far as OOP languages

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.