-
Notifications
You must be signed in to change notification settings - Fork 331
e2 docs string
Parses a number from a string (20 ops)
Parses a number from a string. The argument given is the base. I.e. toNumber(16) will parse hex (20 ops)
Returns a one-character string from it's ASCII code, where 32 = argument 1 = 255. An empty string is returned for numbers outside that range (20 ops)
Returns the ASCII code of the 1st character in the string (20 ops)
Returns the ASCII code of the Nth character in the string (20 ops)
Returns a one-character string from it's UNICODE code (20 ops)
Returns the Unicode code of the 1st character in the string (20 ops)
Returns Nth letter of the string, formatted as a string (20 ops)
Returns N amount of characters starting from the leftmost character (20 ops)
Returns N amount of characters starting from the rightmost character (20 ops)
Returns a substring, starting at the first number argument and ending at the second (20 ops)
Returns a substring, starting at the number argument and ending at the end of the string (20 ops)
All characters are made uppercase (20 ops)
All characters are made lowercase (20 ops)
Returns the length of the string (20 ops)
Returns the unicode length of the string (20 ops)
Repeats the input string N times (20 ops)
Trims away spaces at the beginning and end of a string (20 ops)
Trims away opening spaces on the string (20 ops)
Trims away spaces at the end of a string (20 ops)
Returns the 1st occurrence of the string S using REGEX functions, returns 0 if not found (20 ops)
Returns the 1st occurrence of the string S starting at N and going to the end of the string using REGEX functions, returns 0 if not found (20 ops)
Returns the 1st occurrence of the string S, returns 0 if not found (20 ops)
Returns the 1st occurrence of the string S starting at N and going to the end of the string, returns 0 if not found (20 ops)
Finds and replaces every occurrence of the first argument with the second argument (20 ops)
Finds and replaces every occurrence of the first argument using REGEX with the second argument (20 ops)
Splits the string into an array, along the boundaries formed by the string S. See also String.Explode (5 ops)
Splits the string into an array, along the boundaries formed by the string pattern S. See also String.Explode (5 ops)
Returns a reversed version of S (10 ops)
Formats a values exactly like Lua's [http://www.lua.org/manual/5.1/manual.html#pdf-string.format string.format]. Any number and type of parameter can be passed through the "...". Prints errors to the chat area (10 ops)
runs string.match(S, S2) and returns the sub-captures as an array (10 ops)
runs string.match(S, S2, N) and returns the sub-captures as an array (10 ops)
runs string.gmatch(S, S2) and returns the captures in arrays in a table (10 ops)
runs string.gmatch(S, S2, N) and returns the captures in arrays in a table (10 ops)
runs string.match(S, S2) and returns the first match or an empty string if the match failed (10 ops)
runs string.match(S, S2, N) and returns the first match or an empty string if the match failed (10 ops)
Returns the UTF-8 string from the given Unicode code-points (1 ops)
Returns the UTF-8 string from the given Unicode code-points (1 ops)
Returns the Unicode code-points from the given UTF-8 string (1 ops)
Returns the length of the given UTF-8 string (1 ops)
Please do not alter the e2 docs ...
pages manually.
They are autogenerated from the E2Helper. In the future, this will hopefully be its own dedicated website or tool.
Basic Features: core, debug, number, selfaware,
string, timer
🌎 World: angle, color, find, ranger, sound,
🔣 Math: bitwise, complex, matrix, quaternion, vector, vector2/4
📦 Entities: bone, constraint, egp, entity, hologram, npc
👨 Players: chat, console, player, weapon
📊 Data storage: array, files, globalvars, serialization, table
💬 Communication: datasignal, http, signal, wirelink,
❓ Informational: gametick, serverinfo, steamidconv, unitconv
Disabled by default: constraintcore, effects, propcore, remoteupload, wiring
Wire-Extras (repo): camera, ftrace, holoanim, light, stcontrol, tracesystem
- Home 🏠
- Syntax 🔣
- Directives 🎛️
- Editor 🖥️
- Events 🌟 (new!)
Click To Expand
- 🟥 SPU
- 🟥 Address Bus
- 🟥 Extended Bus
- 🟥 Plug/Socket
- 🟥 Port
- 🟥 Transfer Bus
- 🟩 GPU
- 🟥 Dynamic Memory
- 🟥 Flash EEPROM
- 🟥 ROM
- 🟧 Beacon Sensor
- 🟧 Locator
- 🟧 Target Finder
- 🟧 Waypoint
- 🟥 XYZ Beacon
- 🟩 CPU
- 🟩 Expression 2
- 🟩 Gates
- 🟥 PID
- 🟧 CD Disk
- 🟥 CD Ray
- 🟧 DHDD
- 🟥 Keycard
- 🟥 RAM-card
- 🟧 Satellite Dish
- 🟧 Store
- 🟧 Transferer
- 🟥 Wired Wirer
- 🟧 Adv Entity Marker
- 🟧 Damage Detector
- 🟧 Entity Marker
- 🟧 GPS
- 🟧 Gyroscope
- 🟥 HighSpeed Ranger
- 🟧 Laser Pointer Receiver
- 🟥 Microphone
- 🟧 Ranger
- 🟧 Speedometer
- 🟧 Water Sensor
- 🟧 7 Segment Display
- 🟥 Adv. Hud Indicator
- 🟧 Console Screen
- 🟧 Control Panel
- 🟧 Digital Screen
- 🟧 EGP v3
- 🟧 Fix RenderTargets
- 🟥 GPULib Switcher
- 🟧 Hud Indicator
- 🟧 Indicator
- 🟧 Lamp
- 🟧 Light
- 🟧 Oscilloscope
- 🟧 Pixel
- 🟧 Screen
- 🟧 Sound Emitter
- 🟧 Text Screen
- 🟩 Cam Controller
- 🟧 Colorer
- 🟧 FX Emitter
- 🟧 HighSpeed Holoemitter
- 🟧 HoloEmitter
- 🟧 HoloGrid
- 🟥 Interactable Holography Emitter
- 🟥 Materializer
- 🟥 Painter
- 🟧 Adv. Input
- 🟧 Button
- 🟧 Constant Value
- 🟥 Door Controller
- 🟧 Dual Input
- 🟧 Dynamic Button
- 🟧 Eye Pod
- 🟧 Graphics Tablet
- 🟧 Keyboard
- 🟥 Lever
- 🟧 Numpad
- 🟧 Numpad Input
- 🟧 Numpad Output
- 🟧 Plug
- 🟧 Pod Controller
- 🟧 Radio
- 🟧 Relay
- 🟧 Text Receiver
- 🟧 Two-way Radio
- 🟧 Vehicle Controller
- 🟥 Door
- 🟥 Adv. Dupe. Teleporter
- 🟥 Buoyancy
- 🟧 Clutch
- 🟧 Detonator
- 🟧 Explosives
- 🟧 Explosives (Simple)
- 🟥 Forcer
- 🟩 Freezer
- 🟧 Gimbal (Facer)
- 🟧 Grabber
- 🟧 Hoverball
- 🟧 Hoverdrive Controller
- 🟥 Hydraulic
- 🟧 Igniter
- 🟧 Nailer
- 🟩 Prop Spawner
- 🟥 Servo
- 🟥 Simple Servo
- 🟧 Thruster
- 🟥 Touchplate
- 🟥 Trail
- 🟩 Turret
- 🟩 User
- 🟥 Vector Thruster
- 🟥 Vehicle Exit Point
- 🟧 Weight (Adjustable)
- 🟧 Weld/Constraint Latch
- 🟥 Wheel
- 🟥 Wire Magnet
- 🟥 Wired Npc Controller
- 🟧 Debugger
- 🟥 GUI Wiring
- 🟥 Multi Wire
- 🟧 Namer
- 🟥 Simulate Data
- 🟩 Wiring
- 🟥 Beam Reader
- 🟥 Implanter
- 🟥 Reader
- 🟥 Target Filter
- 🟥 User Reader
Gates 🚥
Click To Expand
TBD