Upload:
LineMatch Method indicates the line number that a line string of source that was divided by feeder and a search string match.Can select search method or ignore recognition of case of Enghlish characters !
Compatible with 1byte script and SJIS !
Compatible with strings containing "&h00" !
Can build Windows application !
Select search method of ignore or recognition case of Enghlish charactor and Match type.
mic_LineMatchCheckType( LineCheckType as Integer, FeederCheckType as Integer, MatchCase as Integer )
LineCheckType, FeederCheckType:
MatchCase:
0: Ignore case (default: same search type as REALbasic).
1: Case sensitive (reset to 0 after work)
2: Case sensitive (fix case sensitive search)
1: Only in case of same as source line ("abcd" = "abcd").
2: Exclude a case contained in source line ("abcd" <> "cd").
Get result of LineMatch method
mic_LineMatchError as Integer
Return value
0: No error.
1: Source is empty.
2: SearchLine is empty.
4: Feeder is empty.
-108: Not enough memory in heap zone.
LineMatch Method indicates the line number that a line string of source that was divided by feeder and a search string match.
mic_LineMatch(Source as String, SearchLine as String, Feeder as String ) as integer
Returns match position.
mic_MatchLinePosB( StrMatchPos as Integer ) as integer
StrMatchPos = 0: Line position, 1: Match position