You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
/** Returns true if the string ends with the specified suffix, otherwise returns false. Test begins at start position and stops at end position.*/
556
+
/**\briefReturns true if the string ends with the specified suffix, otherwise returns false. Test begins at start position and stops at end position.*/
returnthis->substr(start, end - start +1).MyBaseClass::ends_with(suffix);
560
560
}
561
561
562
-
/** Returns true if the string ends with the specified suffix, otherwise returns false. Test begins at start of string and stops at end position.*/
562
+
/**\briefReturns true if the string ends with the specified suffix, otherwise returns false. Test begins at start of string and stops at end position.*/
/** Returns true if the string ends with any of the specified suffixes, otherwise returns false. Test begins at start position and stops at end position.*/
574
+
/**\briefReturns true if the string ends with any of the specified suffixes, otherwise returns false. Test begins at start position and stops at end position.*/
/** Returns true if the string ends with the specified suffix, otherwise returns false. Test begins at start position and stops after count positions.*/
590
+
/**\briefReturns true if the string ends with the specified suffix, otherwise returns false. Test begins at start position and stops after count positions.*/
/** Returns true if the string ends with the specified suffix, otherwise returns false. Test begins at position 0 and stops after count positions.*/
596
+
/**\briefReturns true if the string ends with the specified suffix, otherwise returns false. Test begins at position 0 and stops after count positions.*/
/** Returns true if the string ends with any of the specified suffixes, otherwise returns false. Test begins at start position and stops after count positions.*/
602
+
/**\briefReturns true if the string ends with any of the specified suffixes, otherwise returns false. Test begins at start position and stops after count positions.*/
/** Returns a copy of the string where all tab characters are replaced by one or more spaces, depending on the current column and the given tab size.*/
610
+
/**\briefReturns a copy of the string where all tab characters are replaced by one or more spaces, depending on the current column and the given tab size.*/
/** Returns the lowest index in the string where substring sub is found within the slice str[start:start+count-1], or -1 (i.e. 'npos') if sub is not found.
662
+
/**\briefReturns the lowest index in the string where substring sub is found within the slice str[start:start+count-1], or -1 (i.e. 'npos') if sub is not found.
663
663
*
664
664
* Note: this method should be used only if you need to know the position of
665
665
* sub. To check if sub is a substring or not, use the method contains_n().
@@ -686,7 +686,7 @@ namespace pcs // i.e. "pythonic c++ strings"
686
686
}
687
687
}
688
688
689
-
/** Returns the lowest index in the string where substring sub is found within the slice str[0:count-1], or -1 (i.e. 'npos') if sub is not found.
689
+
/**\briefReturns the lowest index in the string where substring sub is found within the slice str[0:count-1], or -1 (i.e. 'npos') if sub is not found.
690
690
*
691
691
* Note: this method should be used only if you need to know the position of
692
692
* sub. To check if sub is a substring or not, use the method contains_n().
@@ -705,7 +705,7 @@ namespace pcs // i.e. "pythonic c++ strings"
/** Splits the string at the first occurrence of sep, and returns a 3-items vector containing the part before the separator, the separator itself, and the part after the separator.
1142
+
/**\briefSplits the string at the first occurrence of sep, and returns a 3-items vector containing the part before the separator, the separator itself, and the part after the separator.
1143
1143
*
1144
1144
* If the separator is not found, returns a 3-items vector
1145
1145
* containing the string itself, followed by two empty strings.
@@ -1209,7 +1209,7 @@ namespace pcs // i.e. "pythonic c++ strings"
/** Returns the highest index in the string where substring sub is found within the slice str[start:end], or -1 (i.e. 'npos') if sub is not found.
1212
+
/**\briefReturns the highest index in the string where substring sub is found within the slice str[start:end], or -1 (i.e. 'npos') if sub is not found.
1213
1213
*
1214
1214
* Note that this is an offset from the start of the string, not the end.
1215
1215
*
@@ -1236,7 +1236,7 @@ namespace pcs // i.e. "pythonic c++ strings"
1236
1236
}
1237
1237
1238
1238
1239
-
/** Returns the highest index in the string where substring sub is found starting at start position in string, or -1 (i.e. 'npos') if sub is not found.
1239
+
/**\briefReturns the highest index in the string where substring sub is found starting at start position in string, or -1 (i.e. 'npos') if sub is not found.
1240
1240
*
1241
1241
* Note that this is an offset from the start of the string, not the end.
1242
1242
*
@@ -1256,7 +1256,7 @@ namespace pcs // i.e. "pythonic c++ strings"
1256
1256
}
1257
1257
1258
1258
1259
-
/** Returns the highest index in the string where C-substring sub is found in the whole string, or -1 (i.e. 'npos') if sub is not found.
1259
+
/**\briefReturns the highest index in the string where C-substring sub is found in the whole string, or -1 (i.e. 'npos') if sub is not found.
1260
1260
*
1261
1261
* Note that this is an offset from the start of the string, not the end.
1262
1262
*
@@ -1277,7 +1277,7 @@ namespace pcs // i.e. "pythonic c++ strings"
/** Returns the highest index in the string where substring sub is found within the slice str[start:start+count-1], or -1 (i.e. 'npos') if sub is not found.
1280
+
/**\briefReturns the highest index in the string where substring sub is found within the slice str[start:start+count-1], or -1 (i.e. 'npos') if sub is not found.
1281
1281
*
1282
1282
* Note: this method should be used only if you need to know the position
1283
1283
* of sub. To check if sub is a substring or not, use the method contains_n().
@@ -1290,7 +1290,7 @@ namespace pcs // i.e. "pythonic c++ strings"
1290
1290
returnrfind(sub, start, start + count -1);
1291
1291
}
1292
1292
1293
-
/** Returns the highest index in the string where substring sub is found within the slice str[0:count-1], or -1 (i.e. 'npos') if sub is not found.
1293
+
/**\briefReturns the highest index in the string where substring sub is found within the slice str[0:count-1], or -1 (i.e. 'npos') if sub is not found.
1294
1294
*
1295
1295
* Note: this method should be used only if you need to know the position
1296
1296
* of sub. To check if sub is a substring or not, use the method contains_n().
@@ -1308,7 +1308,7 @@ namespace pcs // i.e. "pythonic c++ strings"
/** Splits the string at the last occurrence of sep, and returns a 3-items vector containing the part before the separator, the separator itself, and the part after the separator.
1384
+
/**\briefSplits the string at the last occurrence of sep, and returns a 3-items vector containing the part before the separator, the separator itself, and the part after the separator.
1385
1385
*
1386
1386
* If the separator is not found, returns a 3-items vector
1387
1387
* containing the string itself, followed by two empty strings.
@@ -1650,25 +1650,25 @@ namespace pcs // i.e. "pythonic c++ strings"
/** Returns true if the string starts with the specified prefix, otherwise returns false. Test begins at start position and stops at end position.*/
1653
+
/**\briefReturns true if the string starts with the specified prefix, otherwise returns false. Test begins at start position and stops at end position.*/
returnthis->substr(start, end - start +1).MyBaseClass::starts_with(prefix);
1657
1657
}
1658
1658
1659
-
/** Returns true if the string starts with the specified prefix, otherwise returns false. Test begins at start position and stops at end of string.*/
1659
+
/**\briefReturns true if the string starts with the specified prefix, otherwise returns false. Test begins at start position and stops at end of string.*/
/** Returns true if the string starts with any of the specified prefixes, otherwise returns false. Test begins at start position and stops at end of string.*/
1671
+
/**\briefReturns true if the string starts with any of the specified prefixes, otherwise returns false. Test begins at start position and stops at end of string.*/
/** Returns true if the string starts with the specified suffix, otherwise returns false. Test begins at start position and stops after count positions.*/
1687
+
/**\briefReturns true if the string starts with the specified suffix, otherwise returns false. Test begins at start position and stops after count positions.*/
/** Returns true if the string starts with the specified suffix, otherwise returns false. Test begins at position 0 and stops after count positions.*/
1693
+
/**\briefReturns true if the string starts with the specified suffix, otherwise returns false. Test begins at position 0 and stops after count positions.*/
/** Returns true if the string starts with any of the specified suffixes, otherwise returns false. Test begins at start position and stops after count positions.*/
1699
+
/**\briefReturns true if the string starts with any of the specified suffixes, otherwise returns false. Test begins at start position and stops after count positions.*/