Thank you, but I want the word to be between *word* and the star/end markers are the ones outputting the * or whatever start/end markers inputed in the main function
ok I'm sorry, I have a function for starting and ending markers, I want the word to be between whatever those markers are set to , and thats what I need to return. for example if the start marker was set = * and the end marker was set = / I need the output to be "*word/"