Name:
COCKSUCKER
!!0Mv4ibdzDPWUg/F
2007-07-25 14:39
ID:rgmuQY+q
Hey guys, is there a way in batch programming/scripting/whatever to get the first four characters of a variable? Like say I had this code:
@ECHO OFF
SET cocks=yummy
I would want it to return 'yumm'
Name:
Anonymous
2007-07-25 14:48
ID:Heaven
cocks=yummy
echo ${cocks:0:4}
Name:
Anonymous
2007-07-25 14:49
ID:rgmuQY+q
>>2
Didn't work; just returned ${cocks:0:4}
Name:
Anonymous
2007-07-25 15:37
ID:rgmuQY+q
>>4
Doesn't work. I'm not running Linux you fucking nigger.
Name:
anonymous
!faggot0tBQ
2007-07-25 15:47
ID:Heaven
>>6
Then you fucking fail, faggot.
Name:
Anonymous
2007-07-25 22:13
ID:gWTp6Yv5
>>6
Let me get this straight. You want to write a script... on Windows?
Are you fucking stoned?