June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
12
Task/Regular-expressions/Ring/regular-expressions.ring
Normal file
12
Task/Regular-expressions/Ring/regular-expressions.ring
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Project : Regular expressions
|
||||
# Date : 2018/01/23
|
||||
# Author : Gal Zsolt [~ CalmoSoft ~]
|
||||
# Email : <calmosoft@gmail.com>
|
||||
|
||||
text = "I am a text"
|
||||
if right(text,4) = "text"
|
||||
see "'" + text +"' ends with 'text'" + nl
|
||||
ok
|
||||
i = substr(text,"am")
|
||||
text = left(text,i - 1) + "was" + substr(text,i + 2)
|
||||
see "replace 'am' with 'was' = " + text + nl
|
||||
Loading…
Add table
Add a link
Reference in a new issue