| 3922 | } |
| 3923 | |
| 3924 | bool lString16::split2( const lString16 & delim, lString16 & value1, lString16 & value2 ) |
| 3925 | { |
| 3926 | if ( empty() ) |
| 3927 | return false; |
| 3928 | unsigned p = pos(delim); |
| 3929 | if ( p<=0 || p>=length()-delim.length() ) |
| 3930 | return false; |
| 3931 | value1 = substr(0, p); |
| 3932 | value2 = substr(p+delim.length()); |
| 3933 | return true; |
| 3934 | } |
| 3935 | |
| 3936 | bool splitIntegerList( lString16 s, lString16 delim, int &value1, int &value2 ) |
| 3937 | { |
no test coverage detected