Message Boards Message Boards

1
|
3580 Views
|
2 Replies
|
5 Total Likes
View groups...
Share
Share this post:

VertexShapeFunction pattern matching

POSTED BY: Wenzhen Zhu
2 Replies

Have you tried with parentheses:

Cases[{"u1", "p1"}, _?(StringStartsQ[#, "u"] &)]
Cases[{"u1", "p1"}, _?(StringStartsQ["u"])]
POSTED BY: Gianluca Gorni

Yup, exact way to do it!

enter image description here

POSTED BY: Wenzhen Zhu
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract