Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

Extracting a float from a string

$
0
0

I would like to extract a float from a string of the form
strg = file_t=0.234. In Python, I would use a package called scanf with similar functionality to what is offered in C++. I might also use regular expressions, but that is the last resort. What solutions does Julia offer besides regular expressions? If any. Thanks.

10 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 2795

Trending Articles