2 * Copyright 2010 Stephan Aßmus <superstippi@gmx.de>
3 * All rights reserved. Distributed under the terms of the MIT License.
10 baseURL(const BString string
)
12 int32 baseURLStart
= string
.FindFirst("://") + 3;
13 int32 baseURLEnd
= string
.FindFirst("/", baseURLStart
+ 1);
15 result
.SetTo(string
.String() + baseURLStart
, baseURLEnd
- baseURLStart
);