Initial community commit
This commit is contained in:
24
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/string.startswith.md
vendored
Normal file
24
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/string.startswith.md
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
Returns true if the given string starts with the provided sequence.
|
||||
|
||||
```lua
|
||||
string.startswith("haystack", "needle")
|
||||
```
|
||||
|
||||
### Parameters ###
|
||||
|
||||
`haystack` is the string to check. `needle` is the starting sequence to check against.
|
||||
|
||||
|
||||
### Return Value ###
|
||||
|
||||
True if haystack starts with needle.
|
||||
|
||||
|
||||
### Availability ###
|
||||
|
||||
Premake 4.0 or later.
|
||||
|
||||
|
||||
### See Also ###
|
||||
|
||||
* [string.endswith](string.endswith.md)
|
||||
Reference in New Issue
Block a user