@@ -76,12 +76,12 @@ A list of some common ObjectScript expressions
76
76
77
77
| Action | Code |
78
78
| ----------------------------------------------------------| ---------------------------------------------------------------|
79
- | Display substring extracted from string | ` Write $extract(string, start, end) ` |
79
+ | Display substring extracted from string | ` Write $extract(string, start, end) ` |
80
80
| Display right-justified string within width characters | ` Write $justify(string, width) ` |
81
81
| Display length of string | ` Write $length(string) ` |
82
82
| Display number of delimited pieces in string | ` Write $length(string, delimiter) ` |
83
83
| Display piece from delimited string | ` Write $piece(string, delimiter, pieceNumber) ` |
84
- | Set piece into delimited string | ` Set $piece(string, delimiter, pieceNumber) = piece ` |
84
+ | Set piece into delimited string | ` Set $piece(string, delimiter, pieceNumber) = piece ` |
85
85
| Display string after replacing substring | ` Write $replace(string, subString, replaceString) ` |
86
86
| Display reversed string | ` Write $reverse(string) ` |
87
87
| Display string after replacing characters | ` Write $translate(string, searchChars, replaceChars) ` |
@@ -103,7 +103,7 @@ A list of some common ObjectScript expressions
103
103
| Action | Code |
104
104
| --------------------------------------------------| -------------------------------------------------------------|
105
105
| Increment ^global by increment | ` $increment(^global, increment) ` <br > ` $sequence(^global, increment) ` |
106
- | Match a regular expression | ` Set matches = $match(string, regularexpression) ` |
106
+ | Match a regular expression | ` Set matches = $match(string, regularexpression) ` |
107
107
| Display random integer from start to start+count | ` Write $random(count) + start ` |
108
108
109
109
## ObjectScript Special Variables
0 commit comments