For years I've been copying KJV verses from: https://www.biblegateway.com/
Which when pasted into blogs, articles and debates give me this...
Psalm 22:2-4 King James Version (KJV)
2 O my God, I cry in the day time, but thou hearest not; and in the night season, and am not silent.
3 But thou art holy, O thou that inhabitest the praises of Israel.
4 Our fathers trusted in thee: they trusted, and thou didst deliver them.
When I want this...
Psalm 22:2-4
2 - O my God, I cry in the day time, but thou hearest not; and in the night season, and am not silent.
3 - But thou art holy, O thou that inhabitest the praises of Israel.
4 - Our fathers trusted in thee: they trusted, and thou didst deliver them.
I used Substitute to get rid of "King James Version (KJV)" and change the double ¶¶ to a single ¶, but I'm struggling to add the "dash" between the number and the start of each verse.
I've been experimenting with a loop and various versions of...
LeftWords ( GetValue ( Tx::Text2 ; PatternCount ( Tx::Text2 ; ¶ ) ) ; 1 ) and I'm inching forwards but would appreciate any advice.
I guess I'm classed as an intermediate, though mostly through trial and error... and error!
The time saved reformatting the text will be hours each month as I am quoting such verses on an almost daily basis and have been for years. Once I have my script I just need to find the quickest way to implement it on my Mac, something I'll consider later.
I purposely didn't include verse 1 above, as it presents a second issue of placing the chapter number in place of the number "1", Why? I don't know, it is simply something the site does and another I'll confront once I have resolved the "Dash" issue....
Psalm 22:1-4 King James Version (KJV)
22 My God, my God, why hast thou forsaken me? why art thou so far from helping me, and from the words of my roaring?
2 O my God, I cry in the day time, but thou hearest not; and in the night season, and am not silent.
3 But thou art holy, O thou that inhabitest the praises of Israel.
4 Our fathers trusted in thee: they trusted, and thou didst deliver them.