                                            from = from.slice(0, 1);
                                                } else if (from.slice(2, 3) === '.') {
                                                    from = from.slice(0, 2);
                                                } else {
                                                    from = from.slice(0, 3);
                                                }
                                            }
                                        } catch {