mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
parent
330c93fa77
commit
bf6d19c50b
@ -110,11 +110,11 @@ static Value StringFind(const std::vector<Value>& args)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool StringContains(const Value& value)
|
static bool StringContains(const String& str)
|
||||||
{
|
{
|
||||||
ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
|
ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
|
||||||
String self = vframe->Self;
|
String self = vframe->Self;
|
||||||
return self.Contains(value);
|
return self.Contains(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
static Value StringReplace(const String& search, const String& replacement)
|
static Value StringReplace(const String& search, const String& replacement)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user