What is RNMU ? RNMU is an evergrowing utility (NOT INSPIRED), I made because of some of the scripting functions Roblox lacks.
What does the RNMU inserter plugin do ? The RNMU Inserter plugin automatically inserts RNMU into scripts (or create new scripts) with ease.
Why does the RNMU inserter plugin put RNMU module straight inside of LocalScripts/ModuleScripts ? Roblox does not allow modules to be loaded straight from the asset id on LocalScripts, (ModuleScripts sometimes,) which is why the RNMU inserter automatically updates them.
If RNMU ever updates, you should see in dev console.
Why should I use this ? RNMU offers tons of functions I personally find useful in scripting projects, and if you think you have a good function idea or bug report feel free to leave a reply to this post!
Could you please list all the functions in the topic (as a bullet list)? It’s unattractive for potential users to have to read the source code just to see the functions.
This is a good attempt, but, all the functionality provided by this module already exists in luau and is fairly short. Some of the functions are:
StartOf:
local isStartOfString = string.find("Hello, world", "Hello,") == 1 and true or false
-- here isStartOfString will be true
EndOf:
local isEnd = string.find(string.reverse(str), string.reverse(sub)) == 1 and true or false
-- here isEnd will be true
At:
local at = string.find("Hello, world!", ",") == 6 and true or false
-- here at will be true
SubStart:
local subStart = string.split("Hello, world!", ", ")[1] -- Hello
SubEnd:
local splitres = string.split("Hello, world!", ", ") -- { "Hello", "world!" }
splitres[2] -- world!
-- you can also use table.concat for the above
SubStart deletes whatever is to the left, also the point of RNMU is that you don’t have to write the code and your code can be shorter. As I’ve stated above, the documentation is NOT FINISHED and I am still working on putting them all there and making it look nice.
If thats the case then replace the code I wrote for subEnd with subStart. Also I checked out other functions of the module and they seem helpful. Nice one.
The document is now up-to-date with the functions,
functions that are WIP will not be listed in the
document until release,
but still usable if you look through the code,
due to name changes and entire function deletion that may break code.