Add function to slice a string.
Add function to slice a string.

  * Slice a string and add the hellip at the end.

kernelci/kernelci-frontend,kernelci/kernelci-frontend,kernelci/kernelci-frontend,kernelci/kernelci-frontend