Navigation:  Using iKog > Changing the tasks >

Substituting text

Previous pageReturn to chapter overviewNext page

from version 1.77

 

The substitute command adds you to change text or phrases in a task.  The format of the command is SUB N /s1/s2/ or SU N /s1/s2/ where N is the number of the task to change, s1 is the text you want to change and s2 is the text you want to change it to.  To see how this works consider the following task.

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[06] Buy the antivuris software.

 Priority: 05

 Context: @Date 2006-08-28 @Computer

 Projects: Maintenance

 Created: [2006-08-13]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>>>

 

The task number is shown in square brackets before the task description; in this case the number is 6.  Let's see what happens when we use the substitute command.

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[06] Buy the antivuris software.

 Priority: 05

 Context: @Date 2006-08-28 @Computer

 Projects: Maintenance

 Created: [2006-08-13]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>>>SUB 6 /vuris/virus/ 

 

The result is that the text vuris is replaced by virus.

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[06] Buy the antivirus software.

 Priority: 05

 Context: @Date 2006-08-28 @Computer

 Projects: Maintenance

 Created: [2006-08-13]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

 

You can substitute entire phrases using this command.  So you could enter:

>>>SUB 6 /antivirus software/internet security suite/

 

The / character is used to separate the phrases.  If you need to actually use the / character as part of your phrase, precede the character with a \ character.  So to replace E/mail with E-mail in task 7 you would enter:

>>>SUB 7 /E\/mail/E-mail/

 


Note, this command only acts on the task text.


You can also delete phrases by leaving the second phrase empty as follows:

>>>SUB 6 /phrase to delete//