NWLInsertChar

Inserts a character at a given position in a string

NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform Localization (LOC*.*)
Service:Internationalization

Syntax

  #include <nwlocale.h> 
   
  nint N_API NWLInsertChar ( 
     pnstr              src,  
     const nstr N_FAR  *insertableChar); 
  
  

Pascal Syntax

  uses netwin32 
   
  Function NWLInsertChar 
    (src : pnstr; 
     insertableChar : pnstr 
  ) : nint; 
  
  

Parameters

src
(IN/OUT) Points to a NULL-terminated string where the character is to be inserted.
insertableChar
(IN) Points to the character to be inserted (single- or double-byte).

Return Values

Returns the size of the inserted character (1 or 2 bytes).