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
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,8 @@ The following table presents types, values and simplified, short prototypes of t
133
133
| | string **substring**(string_view sv, size_t pos \[, size_t count\]); | substring starting at given position of given length, default up to end |
134
134
| | string **erase**(string_view sv, size_t pos \[, size_t count\]) | string with substring at given position of given length removed, default up to end |
135
135
| | string **erase_all**(string_view sv, string_view what) | string with all occurrences of 'what' removed |
136
+
| | string **erase_first**(string_view sv, string_view what) | string with first occurrence of 'what' removed |
137
+
| | string **erase_last**(string_view sv, string_view what) | string with last occurrence of 'what' removed |
136
138
| | string **insert**(string_view sv, size_t pos, string_view what) | string with substring 'what' inserted at given position |
137
139
| | string **replace**(string_view sv, size_t pos, size_t length, string_view with) | string with substring pos to pos+length replaced with 'with' |
138
140
| | string **replace_all**(string_view sv, string_view what, string_view with) | string with all occurrences of 'what' replaced with 'with' |
@@ -235,6 +237,8 @@ append: string with second string concatenated to first string
235
237
substring: substring starting at given position of given length, default up to end
236
238
erase: string with substring at given position of given length removed - default up to end
237
239
erase_all: string with all occurrences of substring removed
240
+
erase_first: string with first occurrence of substring removed
241
+
erase_last: string with last occurrence of substring removed
238
242
insert: string with substring inserted at given position
239
243
replace: string with substring given by position and length replaced
240
244
replace_all: string with all occurrences of substring replaced
0 commit comments