I am working in Jquery Is it possible to take a fragment from String variable? such as: var text ="azerty uiop hello qsdf ghjklm wxcvbn"; I want take"hello" with 5 symboles before and after: ...