help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

String elements


From: Rene van der Heiden
Subject: String elements
Date: Thu, 30 Mar 95 13:20:06 MET

Hello all, thank you for the reactions on my previous question. I have
another question:

How can I select a (range of) elements from a string? Eg:
  str='foo bar'
I would like to select elements 3,4 and 5 and try
  substr=str(3:5);
This unfortunately does not work. Is there another way?

Thank you in advance, Rene van der Heiden, address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]