Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 16028

Splitting a string (sounds easy, and probably is)

$
0
0
An example string is this:

"1 ", some text. "2 ", more text, ........"29 ", more text, etc. I hope that gets the example across okay (these strings are Bible Verses in a text file)

I want to read that text file and (ultimately) put each line in a DB record.

Thought of using Split(), but there is not a common character upon which to split (the 'splits' would be the numerical characters in each line). (There are no other numbers except those upon which I want to split.)

if I use IsNumeric, and InStr(), I am challenged with numbers greater than 9.

Attached is a small sample text file....sample.txt
Attached Files

Viewing all articles
Browse latest Browse all 16028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>