Sv GetChar

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Returns the ASCII code (0-127) for a single character in a string variable.

Syntax

[help]
(ASCIICode:int) Sv_GetChar Source:string_var Position:int 

Notes

  • Although ported to NVSE, according to the OBSE docs this function is deprecated by Let, which allows return of a single character: let MyChar := SomeStringVar[Pos].

See Also