Code Snippet for VB's Split() Function
This is a one line code snippet to extract any section of a string using the Split() function. You can actually return the indexed section right in the same line as the Split() without having to assign the Split() to an array.
Rate Code Snippet for VB's Split() Function
(27(27 Vote))
Place this line in your immediate window and run it. It will return "Test5".
Print Split("Test0 Test1 Test2 Test3 Test4 Test5 Test6", " ")(5)
Code Snippet for VB's Split() Function Comments
No comments yet — be the first to post one!
Post a Comment