Template:GetStart

From Pestinfo-Wiki
Jump to: navigation, search

The template takes only one parameter and returns the first part of a string before the first comma (if no comma is found it returns the whole string). This is used for example to obtain the regional code from the combination "<regional code>,<country>".