To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=44469
Issue #:|44469
Summary:|basic: Instr Function behaves
Component:|udk
Version:|OOo 2.0 Beta
Platform:|All
URL:|
OS/Version:|Windows XP
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|kr
Reported by:|brinzing
------- Additional comments from [EMAIL PROTECTED] Tue Mar 8 05:18:57 -0800
2005 -------
Hi,
the basic InStr() Function seems to be different from SO 5.2 ...
Is it a bug or new feature ?
regards
Oliver
--
OPTION EXPLICIT
Sub testInstr()
Dim sSearch as String
Dim sString as String
sString = "Sheet_X"
' Result 1
sSearch = "Sheet_X"
MsgBox InStr(1, sString, sSearch, 0)
' Result 0
sSearch = "Hello"
MsgBox InStr(1, sString, sSearch, 0)
' Result 6
sSearch = "_X"
MsgBox InStr(1, sString, sSearch, 0)
' Result 1 in OO 1.1.4 / OO 2.0 ???
' In SO 5.2 it was 0 ...
sSearch = ""
MsgBox InStr(1, sString, sSearch, 0)
End Sub
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]