Processing Community Forum
How to extract a substring from a string using position and length
Processing.py
The_nish
July 6, 2019, 1:30pm
2
try this
String s = (String1[3:4]); // Returns “de”
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
"the function substring(int) does not exist"
Coding Questions
3
311
May 7, 2022
Using String[ : 10] in Java mode
Beginners
1
256
December 26, 2020
Using substring. What am I doing wrong?
Beginners
2
492
November 14, 2021
Breaking up a String
Coding Questions
17
571
October 21, 2021
Stripping time from a string to calculate elapsed time
Processing.py
8
873
December 11, 2022