I apologise if this is a really easy question but i am new to javascript! if i have a variable named x and wish to seach that variable for a - character, then take the following 3 characters after that to do a check on how would i go about this. The last part once i have the characters i can do, but it is the extracting from a variable in the first place. I guess it would be easiest to extract them and place them into another variable?
Any help is appreciated.
Jeff