- Weatherford Knowledge Base
- P#
- String Functions
-
Getting Started
-
Customer Training
-
Customer Success
-
Updates
-
Production Optimization
-
Artificial Lift Optimization
-
Completion Optimization
-
Environmental, Social & Governance
-
Development, Acquisition & Divestitures
-
Enhanced Oil Recovery
-
Admin
-
P#
- Getting Started with P#
- Data Cleansing
- String Functions
- Scenario Functions
- Regression Functions
- Placeholder Functions
- Mathematical Functions
- Logic Functions
- Entities Function
- Moving Window Functions
- Time and Date Functions
- Statistical Functions
- Economic Functions
- Data Handling
- Additional Functions
- Directional Functions
- Machine Learning Functions
- DCA Functions
- Neighborhood Functions
-
Packages
Left()
Returns the leftmost characters from the specified string expression.
Syntax
Left(string expression [source], number of characters)
- string expression [source]: source string to be searched
- number of characters: the number of characters to be returned
Example
Left("Well name", 4) returns "Well"
Left("Field 55", 5) returns "Field"