Alexandria Uptime: 14.58 Days
Total players online: 0



Take the Tour | Site Map

Name

extractNumberBefore — Parse a string and return its numerical value.

Synopsis

call string.txt extractNumberBefore { string } { termString } [ return ]

Author

the.WZA

Parameters

Table 109. extractNumberBefore parameters

NameDescription
stringString to be parsed as a number.
termStringString that terminates the number to extract.
returnName of return value ('return' by default).

Description

Parse a string and return its numerical value.

Returns

@%3

Changes

#strRes

Example

call string.txt extractNumberBefore xxx-123abcd ab

See Also

string.toNumber