StringExt extension
- on
Properties
- capitalized → String
-
Available on String, provided by the StringExt extension
from 'foo' to 'Foo'no setter - upperCamelCase → String
-
Available on String, provided by the StringExt extension
from 'foo_bar' to 'FooBar'no setter
Methods
-
trimMargin(
[int depth = 4]) → String -
Available on String, provided by the StringExt extension
Trim start margin of multiline string literal bydepth(e.g. ''' hello'''.trimMargin() -> 'hello')depthis the count of spaces (' ') before the actual start of the line