|
|||||||||||||||||||||||||||||
|
|
This function will allow the user to trim consecutive occurances of any character or string of characters from a string. This is intended to be placed in a moviescript. It uses one function call, Trim(), with many combinations: Trim(someString, "a") -- trims from the left and right of the string Trim(someString, "a", #left) -- trims from the left of the string Trim(someString, "a", #right) -- trims from the right of the string Trim(someString, "this", #right) -- trims a string starting from the right of someString. Can use with #left as well.
|
|
|