parsing_data/quickref.tex
author anand
Thu, 11 Nov 2010 03:01:56 +0530
changeset 481 a4056cec859e
parent 331 e3136f576acb
permissions -rw-r--r--
Internal Review not don for `getting starte with functions`

Splitting a string on whitespace:\\
{\ex \lstinline|    str_var.split()|}

Splitting a string using a delimiter. Ex: ";" :\\
{\ex \lstinline|    str_var.split(";")|}

Stripping the whitespace around a string:\\
{\ex \lstinline|    str_var.strip()|}

Converting a string or float to int:\\
{\ex \lstinline|    int(var_name)|}

Converting a string or int into float:\\
{\ex \lstinline|    float(var_name)|}