Jump to content

[SOLVED] Count characters minus some characters


web_master

Recommended Posts

Hi,

 

I got a text in dBase for example

 

<b>12345abc</b> (this is sum 27 chars)

 

this mean <b>12345abc</b> (this is 8 chars and <b></b>)

 

How can I count from database to divide <b> and </b> (or other) from counting

 

I know for

 

$CharS = $request['text'];

 

echo strlen($CharS);

 

but this count all of chars.

 

thnx

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.