diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-09-05 14:45:51 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-09-05 14:45:57 +0200 |
| commit | 6bb5a81cee7e76e8a4e69f7f49869f39c1c382f0 (patch) | |
| tree | 2a6d6f73dd19dd52aaccd1d99b50a20bb53946d6 /FL/Fl_String.H | |
| parent | b2a41e08c3b9b5fbbd0c899537611b8e28e5993d (diff) | |
Adds some convenience methods.
fl_filename_absolute can no generate a path using arbitrary source paths.
Fl_Menu_ adds find_item_with_user_data and find_item_with_argument
Fl_String adds find(string, start)
Diffstat (limited to 'FL/Fl_String.H')
| -rw-r--r-- | FL/Fl_String.H | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/Fl_String.H b/FL/Fl_String.H index e0280f43c..dc0d8307a 100644 --- a/FL/Fl_String.H +++ b/FL/Fl_String.H @@ -113,6 +113,7 @@ public: Fl_String &operator+=(const char *src); Fl_String &operator+=(const Fl_String &src); Fl_String &operator+=(char c); + int find(const Fl_String &needle, int start_pos=0) const; Fl_String &replace(int at, int n_del, const char *src, int n_ins=npos); Fl_String &replace(int at, int n_del, const Fl_String &src); Fl_String substr(int pos=0, int n=npos) const; |
