Updated SC2308 (markdown)

Vidar Holen
2021-08-22 21:12:32 -07:00
parent f650f13a0e
commit e3fe56554e

@@ -63,7 +63,7 @@ otherwise, you can find the index of the first `=` using parameter expansion and
```
str="mykey=myvalue"
x=${str%%=*} # Assign x="mystr"
index=$((x+1)) # Add 1 to length of x
index=$((${#x}+1)) # Add 1 to length of x
```
#### `substr`