lat_lon

lat_lon(string)

Extract number of subwords from sentences and words.

Parameters

string: str Text selected to apply transformation.

Examples:

lat_lon('28.6466772,76.8130649')
lat_lon('2324.3244,3423.432423')
    >>> [28.6466772,76.8130649] is valid latitude & longitude
    >>> [2324.3244,3423.432423] is not a valid latitude & longitude