xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

StrPeek()

Determines the ASCII code of a specified character in a string.

Syntax

StrPeek( <cString>, <nPos> ) --> nASCII

Arguments

<cString>
This is a character string to query for an ASCII code.
<nPos>
The ordinal position of the character to query must be specified as a numeric value.

Return

The function returns the ASCII code of the character at the specified position as a numeric value.

Note:  the function exists for compatibility reasons only.

Info

See also:[ ] (string), Asc(), AscPos(), StrPoke()
Category: Miscellaneous functions
Source:rtl\strpeek.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe