Extended String.LastIndexOf() with endIndex parameter
https://forum.zdoom.org/viewtopic.php?t=57326
This commit is contained in:
parent
037bb1408b
commit
62e91b23bd
2 changed files with 3 additions and 2 deletions
|
|
@ -1264,7 +1264,8 @@ DEFINE_ACTION_FUNCTION(FStringStruct, LastIndexOf)
|
|||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(FString);
|
||||
PARAM_STRING(substr);
|
||||
ACTION_RETURN_INT(self->LastIndexOf(substr));
|
||||
PARAM_INT_DEF(endIndex);
|
||||
ACTION_RETURN_INT(self->LastIndexOf(substr, endIndex));
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(FStringStruct, ToUpper)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue