@@ -76,12 +76,12 @@ A list of some common ObjectScript expressions
7676
7777| Action | Code |
7878| ----------------------------------------------------------| ---------------------------------------------------------------|
79- | Display substring extracted from string | ` Write $extract(string, start, end) ` |
79+ | Display substring extracted from string | ` Write $extract(string, start, end) ` |
8080| Display right-justified string within width characters | ` Write $justify(string, width) ` |
8181| Display length of string | ` Write $length(string) ` |
8282| Display number of delimited pieces in string | ` Write $length(string, delimiter) ` |
8383| 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 ` |
8585| Display string after replacing substring | ` Write $replace(string, subString, replaceString) ` |
8686| Display reversed string | ` Write $reverse(string) ` |
8787| Display string after replacing characters | ` Write $translate(string, searchChars, replaceChars) ` |
@@ -103,7 +103,7 @@ A list of some common ObjectScript expressions
103103| Action | Code |
104104| --------------------------------------------------| -------------------------------------------------------------|
105105| 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) ` |
107107| Display random integer from start to start+count | ` Write $random(count) + start ` |
108108
109109## ObjectScript Special Variables
0 commit comments