DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
split and only grab first part of string
string valueStr
=
"title, genre, director, actor"
;
var vals
=
valueStr
.
Split
(
','
)
[
0
]
;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#split
#grab
#part
#string
ADD COMMENT
Topic
COMMENT
Name
2+8 =
Submit