I have a string like:

string1: http://localapp/lkasdjasd/answers/156, Lorem ipsum dolor? is it Lorem, nah? | Here is the answer

Need to split the string on first vertical bar after first comma:

1. key: 156
2. string1: Lorem ipsum dolor? is it Lorem, nah?
3. string2: Here is the answer

```
arr   = line.split(',')
key   = arr[0].split('/')[-1].to_i
title = arr[1]
desc  = arr[2]

```

So far I figured out only how to get the key