Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
Taking characters out of text
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Taking characters out of text
#
88371
27/06/04
03:07 PM
Joined:
Jun 2004
Posts: 4
K
killerbug123
OP
Self-satisified door
OP
killerbug123
Self-satisified door
K
Joined:
Jun 2004
Posts: 4
Ok, lets say for example i have a word like "The" and i just want to take the "he" from it and put it in a variable....how would i do this?
thanks
Copy Link to Clipboard
Re: Taking characters out of text
#
88372
27/06/04
03:13 PM
Joined:
Nov 2003
Posts: 2,327
T
tidy_trax
Hoopy frood
tidy_trax
Hoopy frood
T
Joined:
Nov 2003
Posts: 2,327
set %var $remove(the,t)
set %var $right(the,-1)
set %var $right(the,2)
set %var $mid(the,2)
New username: hixxy
Copy Link to Clipboard
Re: Taking characters out of text
#
88373
27/06/04
03:15 PM
Joined:
Jun 2004
Posts: 4
K
killerbug123
OP
Self-satisified door
OP
killerbug123
Self-satisified door
K
Joined:
Jun 2004
Posts: 4
ah i see now...thanks for the quick reply
Copy Link to Clipboard
Re: Taking characters out of text
#
88374
27/06/04
04:32 PM
Joined:
Jun 2004
Posts: 4
K
killerbug123
OP
Self-satisified door
OP
killerbug123
Self-satisified door
K
Joined:
Jun 2004
Posts: 4
How come when i use this code it only writes on line 1 of the file?
Code:
//write -l$mid(12345,3,2) test.txt this is a test
Last edited by killerbug123;
27/06/04
04:35 PM
.
Copy Link to Clipboard
Re: Taking characters out of text
#
88375
27/06/04
04:58 PM
Joined:
Mar 2004
Posts: 130
Greece
T
tsoglanos
Vogon poet
tsoglanos
Vogon poet
T
Joined:
Mar 2004
Posts: 130
Greece
Normal it sould be
//write -l $+ $mid(12345,3,2) test1.txt this is a test , if you want to write to line 34, of course line 34 must exist else only one line is add to test.txt
http://Ircp.tripod.com
Copy Link to Clipboard
Re: Taking characters out of text
#
88376
27/06/04
06:00 PM
Joined:
Jun 2004
Posts: 4
K
killerbug123
OP
Self-satisified door
OP
killerbug123
Self-satisified door
K
Joined:
Jun 2004
Posts: 4
perfect, exactly what i needed...thx
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage