View source code
Display the source code in dmd/root/string.d from which this
page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a
Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Module dmd.root.string
This module contains various string related functions.
Compiler implementation of the D programming language
http
//dlang.org
Documentation
https://dlang.org/phobos/dmd_root_string.html
Coverage
https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/string.d
Functions
Name | Description |
---|---|
iequals(s1, s2)
|
Compare two slices for equality, in a case-insensitive way |
stripLeadingLineTerminator(str)
|
Strips one leading line terminator of the given string. |
toCStringThen(src)
|
Copy the content of src into a C-string ('\0' terminated) then call dg
|
toDString(s)
|
Slices a \0 -terminated C-string, excluding the terminator
|
Authors
Walter Bright, http://www.digitalmars.com
License
Copyright © 1999-2022 by the D Language Foundation | Page generated by ddox.