c# - Substring with string, returning values between two words in a string -


i getting telnet buffer string following:

"<connected><sending_video_list><start_video_list>test.mp4|test_3.mp4|test_2.mp4|<end_video_list><playing_test.mp4_started>" 

i want select between 2 indicators <start_video_list> , <end_video_list> in case euqal to:

test.mp4|test_3.mp4|test_2.mp4|

is there efficient way without manipulating whole string?

well, if want, can use regex:

<start_video_list>([^<]*)<end_video_list> 

and first captured group (\1) want.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -