This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
yes this solves the problem. Also i am looking for repeating characters in the first 3 and last 3 characters in a string. I was able to get the first 3 characters using Substring function. How to extract the last 3 characters of the string?
Here is a bit quicker solution using RegEx if you want to implement. I've parsed the text from the opening three characters and the ending three characters. \l is shorthand for undercase, so if the letters are all upper case, use \u, if they are combination of upper and lower, use \w an make sure the "case insensitive" box is checked in the configuration window.