Search Results

Search: Posts Made By: maradona
25,573
Posted By maradona
getting a substring from a string
Hi, I am trying to get "10" as a variable and "02" as a variable.
i.e. Input string = SAPR3K.FD0.FA.TJ.B0010.T050302
and desired output string lets say v1 = 10 (at 21st position in the string)and...
25,573
Posted By maradona
getting a substring from a string
hi all,

I am trying to extract SUBSTRINGS out of a string using ksh.

The string is "SAPR3K.FD0.FA.TJ.B0010.T050302"

I tried using
a= `expr substr $stringZ 1 2`
which is giving me a...
Showing results 1 to 2 of 2

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