monitoring: Add utility to get index of string in slice
monitoring: Add utility to get index of string in slice

Add utility to get index of string in slice

Change-Id: I4ccb0a512256454e0c6a7ec673876e9e86d089c5
Signed-off-by: anmolbabu <3d38fb1e9c5ff2662fc415254efcdfedb95b84d5@gmail.com>

skyrings/skyring-common,skyrings/skyring-common