Nats extract site
From TMM Wiki
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
nats_extract_site
Extracts the site id from a NATS code.
- integer nats_extract_site(string data)
Extracts the site ID from a NATS code. Returns the numeric site id.
Note: This function requires helper.php.