{"modulePath":"github.com/glojurelang/glojure","version":"v0.7.25","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package string\n\nPackage string exposes JVM-faithful java.lang.String equivalents for code running on glojure. Each symbol is published in up to three ways:\n\n  - as a Go package-level value (used when gloat AOT-compiles a Clojure call site to a direct Go reference such as \\`compatstring.Format\\`);\n  - through glojure's pkgmap under both \\`String.foo\\` and the fully qualified \\`github.com/glojurelang/glojure/pkg/javacompat/string.Foo\\` names (used by the REPL and any dynamic resolution path); and\n  - for instance-style methods (\\`(.toUpperCase s)\\`, \\`(.length s)\\`, etc.) via lang.RegisterStringMethod, which the FieldOrMethod dispatch path consults when the receiver is a Go string.\n\nWhere the JVM signature is overloaded by arity (indexOf(ch) / indexOf(ch, from) / indexOf(sub) / indexOf(sub, from)), the bridge dispatches polymorphically at call time. Char-typed args accept either int32 (UTF-16 unit) or lang.Char.\n\n## Functions\n\n```go\nfunc CopyValueOf(args ...any) string\n```\n\n```go\nfunc Format(args ...any) string\n```\n\n```go\nfunc Join(args ...any) string\n```\n\n```go\nfunc New(args ...any) any\n```\n\n```go\nfunc ValueOf(x any) string\n```\n\n","path":"github.com/glojurelang/glojure/pkg/javacompat/string","name":"string","synopsis":"Package string exposes JVM-faithful java.lang.String equivalents for code running on glojure.","isRedistributable":true}
