Skip to contents

This function takes an area_id string and modifies the last segment if it's a single-digit number between 1 and 9 by adding a leading zero.

Usage

modify_area_id(id)

Arguments

id

A string representing the area_id.

Value

A string with the modified area_id format.