China Naming Network - Almanac query - How can Yi language take the middle between two texts faster?
How can Yi language take the middle between two texts faster?
Version 2
. Subroutine _ button 1_ was clicked.
. Local variable position 1, integer type
. Local variable position 2, integer type
Local variable text, text type
Text = Subtext substitution (edit box 1. Content, # quotation marks,,, true)
Location 1 = Find text (text, "cid:", true).
Position 2 = Find text (text, ",end", position 1, true).
Edit box 2. Content = take the middle of the text (text, position 1+ take the text length ("cid:"), position 2- position 1- take the text length ("cid:")).