I have a long string and I want to display the first 50 characters of it (without including the HTML content). Can anyone suggest any method?

Hi
Few questions:
Is this Client side or Server side?
What language are you using?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.