first few characters only


Posted on 16th Feb 2014 07:03 pm by admin

hi, does anyone know how to use PHP to take the first few words of a text and limit them? i have seen this in many news sites where the news story headline reads like "woman found in obama's bedroom today at....... read more. ('read more' is a link)

what i am looking for is something that says i will take the first 100 characters of the entry and then print "...read more" as a link to the full story.

Did you know?Explore Trending and Topic pages for more stories like this.
thanks
No comments posted yet

Your Answer:

Login to answer
246 Like 28 Dislike
Previous forums Next forums
Other forums

Ariba 9r - SAP MM Integration
Hi experts,

The standard Ariba adapter for 9r creates a relationship between Cost Centers

Upload Code Help
Hi everyone I need some help with a bit of code ive been working with for a while. I am completely s

User input in to variable
Hi all,

I'm sure this is very easy but I'm having another brain freeze!

At the end of

url- go to webpage
i have an input text field and submit button.

how do i make the url entered into the textfiel

recrawling
Can anyone suggest me how may i know a page is updated before it is being downloaded, so that i can

DYNPRO_FIELD_CONVERSION
Hi gurus,

I got a dump when I run one of my program. the dump is described below:

Typing math
I've added support for typesetting math using LaTeX on the forums.

Example:
Code: [Select]

Custom CMS
This is a big custom CMS script I'd like to develop and would like some help atleast figuring out wh

selection tool on raster image
Hi!
I have to implement in my app a selection tool which lets users to select region of any shape

SuperCali PHP Event Calendar
does anyone have any experience with the SuperCali PHP Event Calendar? I could use some assistance

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash