FCMStrings

Summary of modifications:

  • Methods that accept FCString now also accept Lua string and number (except for folder loading methods which do not accept number).
  • Setters that accept FCStrings now also accept multiple arguments of FCString, Lua string, or number.

Functions

AddCopy

fcmstrings.AddCopy(self, str)

View source

[Override] Accepts Lua string and number in addition to FCString.

Input Type Description
self FCMStrings
str `FCString string
Return type Description
boolean True on success.

AddCopies

fcmstrings.AddCopies(self)

View source

[Override] Same as AddCopy, but accepts multiple arguments so that multiple strings can be added at a time.

@ … (FCStrings|FCString|string|number) numbers will be cast to string

Input Type Description
self FCMStrings
Return type Description
boolean true if successful

CopyFrom

fcmstrings.CopyFrom(self)

View source

[Override] Accepts multiple arguments.

@ … (FCStrings|FCString|string|number) numbers will be cast to string

Input Type Description
self FCMStrings
Return type Description
boolean true if successful

Find

fcmstrings.Find(self, str)

View source

[Override] Accepts Lua string and number in addition to FCString.

Input Type Description
self FCMStrings
str `FCString string
Return type Description
FCMString|nil

FindNocase

fcmstrings.FindNocase(self, str)

View source

[Override] Accepts Lua string and number in addition to FCString.

Input Type Description
self FCMStrings
str `FCString string
Return type Description
FCMString|nil

LoadFolderFiles

fcmstrings.LoadFolderFiles(self, folderstring)

View source

[Override] Accepts Lua string in addition to FCString.

Input Type Description
self FCMStrings
folderstring `FCString string`
Return type Description
boolean True on success.

LoadSubfolders

fcmstrings.LoadSubfolders(self, folderstring)

View source

[Override] Accepts Lua string in addition to FCString.

Input Type Description
self FCMStrings
folderstring `FCString string`
Return type Description
boolean True on success.

InsertStringAt

fcmstrings.InsertStringAt(self, str, index)

View source

[>= v0.59] [Fluid] [Override] Accepts Lua string and number in addition to FCString.

Input Type Description
self FCMStrings
str `FCString string
index number