IT Community - Software Programming, Web Development and Technical Support

How to get ASCII Value of a first character in a string in php?

This is a discussion on How to get ASCII Value of a first character in a string in php? within the PHP Programming forums, part of the Web Development category; How to get ASCII Value of a first character in a string in php?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 01-06-2008, 10:46 PM
$enthil $enthil is offline
D-Web Sr.Programmer
 
Join Date: Apr 2007
Posts: 162
$enthil is on a distinguished road
Smile How to get ASCII Value of a first character in a string in php?

How to get ASCII Value of a first character in a string in php?
__________________
$enthil
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 01-06-2008, 10:48 PM
it.wily it.wily is offline
D-Web Programmer
 
Join Date: Jul 2007
Posts: 89
it.wily is on a distinguished road
Cool Re: How to get ASCII Value of a first character in a string in php?

you can use ord() function in php. It returns the ASCII value as an integer
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the wildcard character in SQL? S.Vinothkumar Database Support 3 04-10-2008 10:50 PM
Substring of a string from a particular character $enthil PHP Programming 4 01-02-2008 01:39 AM
What is diffrenece between string.compare and string.compareordinal shaalini ASP and ASP.NET Programming 3 12-28-2007 09:46 PM
Character Embedding geoblow Flash Actionscript Programming 0 09-18-2007 12:11 AM
NULL character within a string vigneshgets C# Programming 1 08-01-2007 04:07 AM


All times are GMT -7. The time now is 09:39 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0