Table of Contents

Method ParseInt

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ParseInt(string)

Parses the specified string as an integer.

public static int ParseInt(this string intString)

Parameters

intString string

The integer string to parse.

Returns

int

ParseInt(string, int)

Parses the specified string as an integer.

public static int ParseInt(this string intString, int defaultValue)

Parameters

intString string

The integer string to parse.

defaultValue int

If parsing fails, the value to return instead.

Returns

int