diff options
author | Florian Jung <flo@thinkpad.(none)> | 2011-01-10 17:32:36 +0100 |
---|---|---|
committer | Florian Jung <flo@thinkpad.(none)> | 2011-01-10 17:35:46 +0100 |
commit | 4b87549a645fd62107ddc5295a5027b2a5851096 (patch) | |
tree | 56601c12d5d3057fbd403c9c6b46e6b042073cb2 /note_compiler/plugin_factory/load.cpp | |
parent | eb81cf5820770c54d33facaf09f7f79a17e272ed (diff) |
Added str_before and str_after functions
str_before ("foo:bar:baz",':',"doesntmatter") returns "foo"
str_after ("foo:bar:baz",':',"doesntmatter") returns "bar:baz"
str_after and str_before ("foobar",':',"default") returns "default"
Also, extract_var and extract_val now use the newly created functions
Diffstat (limited to 'note_compiler/plugin_factory/load.cpp')
0 files changed, 0 insertions, 0 deletions