forked from solstice/solstice
started writing lexer after making string lib
This commit is contained in:
23
string/docs/modify/lower.md
Normal file
23
string/docs/modify/lower.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# string_Lower
|
||||
Make a string lowercase.
|
||||
|
||||
## Arguments
|
||||
- str (string): the string to make lowercase.
|
||||
|
||||
## Returns
|
||||
lowerString (string): the string in lowercase.
|
||||
|
||||
## Raises
|
||||
- `AllocFail`: raised if Ground failed to allocate memory for the new string.
|
||||
|
||||
## Example
|
||||
### Ground
|
||||
```python
|
||||
call !string_Lower "my STRING" &lowerString
|
||||
println $lowerString # "my string"
|
||||
```
|
||||
|
||||
### Solstice
|
||||
```c
|
||||
puts string_Lower("my STRING") // "my string"
|
||||
```
|
||||
Reference in New Issue
Block a user