Persistate API documentation
ParseTextOrdinal Method (ordinal)
NamespacesPersistateUtlParseTextOrdinal(String)

[This is preliminary documentation and is subject to change.]

Parses a text version of an ordinal number to give that number. Only text ordinals from first to ninetyninth are parsed
Declaration Syntax
C#
public static int ParseTextOrdinal(
	string ordinal
)
Parameters
ordinal (String)
The text of the ordinal to parse, for example 'first', 'second', 'twenty-fifth', 'ninety-ninth'. Hyphens may be used or omitted, so 'twenty-fourth' is equivalent to 'twentyfourth'.
Return Value
The number parsed, or zero if parsing failed

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)