Search Results

Search: Posts Made By: outofcookies
1,994
Posted By outofcookies
Oh ok I'm sorry, in your previous post you put...
Oh ok I'm sorry, in your previous post you put ${VAR:offset:length} which indicates the value after the first colon to be the offset value, so I was increasing the second value to account for length...
1,994
Posted By outofcookies
Well thats almost there, selecting the first...
Well thats almost there, selecting the first index works but I can't seem to select the second, third, and fourth indexes. I'd like to select the indexes individually.

The purpose being that I...
1,994
Posted By outofcookies
Like, in the string "apple" index value 0 is "a"...
Like, in the string "apple" index value 0 is "a" while index value 1 is "p", etc.
1,994
Posted By outofcookies
Comparing the value of a string index to a variable.
Hi, coding a simple program to compare an entered number to a randomly generated one. The number of digits are restricted so I'm just trying to figure out how to refer to the index value in a string...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 02:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy