Skip to main content
8 events
when toggle format what by license comment
May 13, 2014 at 21:28 history edited choroba CC BY-SA 3.0
added 545 characters in body
May 13, 2014 at 21:23 comment added choroba @user67524: Read about Parameter Expansion in man bash. To remove the parts, use str=${str#STRING: "}; str=${str%"}.
May 13, 2014 at 21:12 comment added user67524 Thanks a lot! I think I'll use your solution although I understand almost nothing. Can I ask you for some additions? Because original string begin with STRING: " and end with ". I forgot to mention that I need to remove them. It's constant 9 characters on the beginning and one char. from the end of the string.
May 13, 2014 at 20:14 vote accept user67524
May 13, 2014 at 12:27 history undeleted choroba
May 13, 2014 at 12:26 history edited choroba CC BY-SA 3.0
added 180 characters in body
May 13, 2014 at 11:59 history deleted choroba via Vote
May 13, 2014 at 11:58 history answered choroba CC BY-SA 3.0