| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #2 (permalink) |
| Senior Member Join Date: Aug 2002
Posts: 1,255
![]() ![]() | In what language are you talking about? You can use strlen in PHP or length in Perl. Oh I read your post wrong I think. You're wanting to count how many times a certain character occurs in a string right? You can use substr_count in PHP and the tr/// function in perl for that.
Last edited by deadserious; 05-08-2004 at 12:31 AM.
|
| |