What is the best way to extract a substring within a longer string?
Posted: 09 Mar 2018 15:58
Hi all,
I just got a new task. It is to extract a substring within the longer string. Here is the example,
"Schemes are embedded as those scheme packs as <T501-08815-0103> in 'Schemes to Sign_for_829501.doc'"
The task is to get substring T501-08815-0103
the variation is this < > can be two as <T501-08815-0103, T501-08715-0103>
so in this case the task is to get substring T501-08815-0103, T501-08715-0103
we can tailed the format to make easier to extract substring, like this case using < >, it can be any as long as it is helpful to extract the substring...
Thanks
I just got a new task. It is to extract a substring within the longer string. Here is the example,
"Schemes are embedded as those scheme packs as <T501-08815-0103> in 'Schemes to Sign_for_829501.doc'"
The task is to get substring T501-08815-0103
the variation is this < > can be two as <T501-08815-0103, T501-08715-0103>
so in this case the task is to get substring T501-08815-0103, T501-08715-0103
we can tailed the format to make easier to extract substring, like this case using < >, it can be any as long as it is helpful to extract the substring...
Thanks