Question: I have a list that I called lst, it is as follows:

```
lst = ['A', 'C', 'T', 'G', 'A', 'C', 'G', 'C', 'A', 'G']

```

What i want to know is how to split this up into four letter strings which start with the first, second, third, and fourth letters; then move to the second, third, fourth and fifth letters and so on and then add it to a new list to be compared to a main list.

Thanks

Answer: 
You're probably confusing `params` and `body`.

`params` is for `PATH parameters` used to parametrize the request path, say in your example, `/searche/london/08-25-2019`

Form data *usually* goes as `body` unless, ofcourse, you modify it somehow. So you can do:

```
router.get('/searche',function(req,res) {
  // req.body.city gets you city input
  ...
}

```

Note: You would have to mount `body-parser` or `express`'s inbuilt like `express.json()`
single quote in on wrong place, change this :

```
"%'+req.params.city+'%" ' 

```

to

```
`"...'%"+ req.params.city+ "%'"`

```

result : 

```
db.query("SELECT  city_name, state_name, party_name, price, image, address, full_name  FROM register natural join party where userid = id and city_name LIKE '%"+ req.params.city+ "%'",()=> ...)

```