69.0k views
0 votes
How to split a string in C/C++, Python and Java?

User Swalih
by
7.2k points

1 Answer

2 votes

C/C++: The split() function can be used to split a string in C/C++.
Python: The split() method can be used to split a string in Python.
Java: The split() method can be used to split a string in Java.
User Lievno
by
7.8k points