feat(v1.4.1): add native proposal module, Lover Accept Checker AI, and modules documentation catalog
This commit is contained in:
1 parent
4895c201c1
commit
b7ae6c9725
20 files changed
+600
-34
No files matched your search
@@ -0,0 +1,26 @@
|
||||
# 🔤 AiraLang `string` Module
|
||||
> **Advanced Text & String Utilities**
|
||||
|
||||
## Import
|
||||
```aira
|
||||
import "string";
|
||||
```
|
||||
|
||||
## Methods
|
||||
- `string.split(text, [delimiter])`: Split text into array.
|
||||
- `string.replace(text, old, new)`: Replace occurrences.
|
||||
- `string.upper(text)`: Convert to uppercase.
|
||||
- `string.lower(text)`: Convert to lowercase.
|
||||
- `string.trim(text)`: Strip whitespace.
|
||||
- `string.length(text)`: Get length.
|
||||
- `string.contains(text, sub)`: Check substring presence.
|
||||
- `string.starts_with(text, prefix)`: Check prefix.
|
||||
- `string.ends_with(text, suffix)`: Check suffix.
|
||||
- `string.join(list, [sep])`: Join list into string.
|
||||
|
||||
## Example
|
||||
```aira
|
||||
import "string";
|
||||
|
||||
say string.upper("hello world");
|
||||
```
|
||||
Reference in new issue
Block a user