We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 651aeeb commit 67e072aCopy full SHA for 67e072a
docs/modules/string.rst
@@ -21,7 +21,7 @@ strings section of your rule.
21
22
*Example: string.to_int("1234") == 1234*
23
*Example: string.to_int("-10") == -10*
24
- *Example: string.to_int("-010" == -8*
+ *Example: string.to_int("-010") == -8*
25
26
.. c:function:: to_int(string, base)
27
@@ -32,8 +32,8 @@ strings section of your rule.
32
the string will be intrepreted as base 16 if it starts with "0x" or as base
33
8 if it starts with "0". Leading '+' or '-' is also supported.
34
35
- *Example: string.to_int("011", 8) == "9"*
36
- *Example: string.to_int("-011", 0) == "-9"*
+ *Example: string.to_int("011", 8) == 9*
+ *Example: string.to_int("-011", 0) == -9*
37
38
.. c:function:: length(string)
39
0 commit comments