wordsFor absolute beginners, you may be puzzled by the lack of some basic string operations like left, mid and right so here there are if Google is your friend you would have found them email hidden; JavaScript is required/msg03040.html" target="_blank" rel="nofollow">here:


left: func [s [string!] n [integer!]] [copy/part s n]
right: func [s [string!] n [integer!]] [copy/part at s (length? s) - n + 1 n]
mid: func [s [string!] i [integer!] n [integer!]] [copy/part at s i n]
rest-of-string: func [s [string!] n [integer!]] [right s (length? s) - (n - 1)]

Bookmark and Share

Recent Articles