Forum Discussion
calliper_143911
Oct 29, 2014Nimbostratus
Find whitespace in string
Hi,
I have a string:
set stringvar ["apple", "pear", "tomato" "grape", "banana", "strawberry"]
How can I find the position of the double-space between tomato and grape? When I try:
[strin...
kunjan
Oct 29, 2014Nimbostratus
Seems to be working
% set stringvar {"apple", "pear", "tomato" "grape", "banana", "strawberry"}
"apple", "pear", "tomato" "grape", "banana", "strawberry"
% string first {" "} $stringvar
24
%
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects