Reputation: 9869
I can't understand why in some docs the String method is capitalized, but in some docs the same method is not. string
vs String
.
What is difference?
Upvotes: 1
Views: 1886
Reputation: 657929
The difference is that String
is a type and string
is not.
For more details it depends on the context.
Upvotes: 2