Difference between revisions of "NXSL:ord"

From NetXMS Wiki
Jump to navigation Jump to search
m (Text replacement - "^" to "{{deprecated}}")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
__NOTOC__
{{deprecated}}__NOTOC__
Convert a character into it's ASCII/Unicode value.
Convert a character into it's ASCII/Unicode value.


Line 24: Line 24:
== Examples ==
== Examples ==


  ord(a) -> 97
  ord("a") -> 97
  ord(abc) -> 97
  ord("abc") -> 97

Latest revision as of 18:13, 13 September 2022

This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

Convert a character into it's ASCII/Unicode value.

Only processes one character.

Syntax

ord(character);


Parameters

character A character to convert.


Return Value

An ASCII/Unicode value


Examples

ord("a")	->	97
ord("abc")	->	97