Changeset 192 for Include/Classes/System/String.ab
- Timestamp:
- Mar 28, 2007, 10:29:58 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/Classes/System/String.ab
r183 r192 240 240 If AllocStringBuffer(textLengthW) <> 0 Then 241 241 MultiByteToWideChar(CP_THREAD_ACP, 0, text, textLengthA, Chars, textLengthW) 242 Chars[textLengthW] = 0 242 243 End If 243 244 #endif … … 249 250 If AllocStringBuffer(textLengthA) <> 0 Then 250 251 WideCharToMultiByte(CP_THREAD_ACP, 0, text, textLengthW, Chars, textLengthA, 0, 0) 252 Chars[textLengthA] = 0 251 253 End If 252 254 #else … … 466 468 memcpy(VarPtr(Remove.Chars[startIndex]), VarPtr(This.Chars[startIndex + count]), SizeOf (StrChar) * (m_Length - startIndex - count)) 467 469 End Function 468 /* 470 469 471 Static Function IsNullOrEmpty(s As String) As Boolean 470 472 If s <> Nothing Then … … 475 477 Return False 476 478 End Function 477 */ 479 478 480 Const Function Replace(oldChar As StrChar, newChar As StrChar) As String 479 481 Replace = Copy(This)
Note:
See TracChangeset
for help on using the changeset viewer.