Jump to content

Words in string


Recommended Posts

Posted

Hi guys

Today i have a problem with words in string. So for ex i have string:

Hi my name is paul im 20 

and i want print only 3 words and after last add "..." like that:

Hi my name... 

How?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...