1 method ustr ustr.replace( uint offset size, ustr value )
2 {
3 if offset >= *this : this += value
4 else
5 {
6 value->buf.use -= 2
7 this->buf.replace( offset << 1, size << 1, value->buf )
8 value->buf.use += 2
9 }
10 return this
11 }
12
13 method ustr ustr.insert( uint offset, ustr value )
14 {
15 return this.replace( offset, 0, value )
16 }
17
18
19 operator uint ==( ustr left, str right )
20 {
21 return left == right.ustr()
22 }
23
24 operator uint ==( str left, ustr right )
25 {
26 return left.ustr() == right
27 }