
    MgW                         S SK Jr  S rg)   )mappsc                    U R                  5       nUR                  S5      nSU;   ap  UR                  S5      nX2:  a-  SR                  XS-   U 5      nSR                  XS-   S 5      nOESR                  XS-   U 5      nSR                  XS-   S 5      nOSR                  XS-   S 5      nSn[        R                  " XE5        g)z
Extracts the names of start(if given) and destination cities,
from the given argument.

Parameters
----------
data: str
    A variable that contains the names of start(if given) and
    destination cities.
tofrom r   N    )splitindexjoinr   
directions)data	word_listto_index
from_indexto_city	from_citys         D/Users/admin/workspace/ai/Jarvis/jarviscli/packages/directions_to.pymainr      s     

It$H__V,
 hhyAjABG>?!;<I>(!CDIhhyA78G((9\]34		W(    N) r   r    r   r   <module>r      s    )r   